On 11 Jun 2008, at 14:24, Prasad wrote:
>
> Hi,
>
> Is there a way to change to the views'' file extensions from .rhtml
> to .html ?? If yes, how can I do that?
Not quite sure why you would want to do that, but
ActionView::Template.register_template_handler :html,
TemplateHandlers::ERB
might do the trick (in rails 2.1)
Fred
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---