English

Navigation
Powered by Squarespace
Foobaruy mwe

Buy my book on <a href="lulu.com">lula</a>

« Deploying Rails Applications with mod_rails | Main | Capistrano pitfalls »
Mittwoch
Mrz262008

globalize and haml

If you are using HAML and Globalize then you might need to tweak plugins/globalize/lib/globalize/rails/action_view.rb so HAML templates are actually "transformed":
Change
@@re_extension = /\.(rjs|rhtml|rxml)$/
to
@@re_extension = /\.(rjs|rhtml|rxml|erb|builder|haml)$/
and HAML works again.

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>