Changing Views' Extensions

Hi,

Is there a way to change to the views’ file extensions from .rhtml
to .html ?? If yes, how can I do that?

Thanks,
Prasad

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