mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
update README to add ruby_parser
as a dependency for generating the Haml templates
This commit is contained in:
parent
7a1852e9f5
commit
3fd206c591
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ Devise currently supports generating views for the following template engines (u
|
|||
* Haml (http://github.com/nex3/haml)
|
||||
* Slim (http://github.com/stonean/slim)
|
||||
|
||||
Note: If you are generating Haml or Slim templates, you will need to have a few dependencies such as `hpricot` (for both Haml and Slim) and `haml2slim` (for Slim) installed.
|
||||
Note: If you are generating Haml or Slim templates, you will need to have a few dependencies such as `ruby_parser` (for Haml), `hpricot` (for both Haml and Slim) and `haml2slim` (for Slim) installed.
|
||||
|
||||
If you have more than one role in your application (such as "User" and "Admin"), you will notice that Devise uses the same views for all roles. Fortunately, Devise offers an easy way to customize views. All you need to do is set "config.scoped_views = true" inside "config/initializers/devise.rb".
|
||||
|
||||
|
|
Loading…
Reference in a new issue