Ruby on Rails Monday, November 22, 2010

Hi all,

I've got a Rails app that I'm converting over to using HAML as part of
a redesign. During the conversion process, we want to keep the new
views away from most of our users until they're ready for public beta.
Is there a master
switch I can flip, like in a controller before_filter, that would
tell
Rails to render ERB rather than HAML when both template types exist?
By default the HAML will always be rendered, but I'd like to
configure
that.

Thanks!

Brent

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment