Created
January 5, 2012 03:55
-
-
Save gonzedge/1563632 to your computer and use it in GitHub Desktop.
Replacing ERb with HAML on your Rails application generators
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gem 'haml-rails' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ... | |
| invoke haml | |
| create app/views/test | |
| create app/views/test/method_one.html.haml | |
| create app/views/test/method_two.html.haml | |
| # ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment