I am trying to get Haml to work with my Ruby on Rails project. I am new to Ruby on Rails and I really like it. However, when I attempt to add an aplication.html.haml>
First, install haml as a gem in bundler by adding this to your Gemfile
:
gem "haml"
Run bundle install
, then make sure your views are named with a *.html.haml extension. For example:
`-- app
`-- views
|-- layouts
| `-- application.html.haml
`-- users
|-- edit.html.haml
|-- index.html.haml
|-- new.html.haml
`-- show.html.haml