This is probably a better question for the Rails list.

yitzhakbg wrote:
> Has anyone found an answer to this? I need to have html.erb and
> html.haml templates living side by side in the same directory. How
> does one configure Rails initialization to have ActionView prefer type
> over the other?
>
> On Sep 27, 4:25 pm, Michael Moen <[EMAIL PROTECTED]> wrote:
> Is there a way to define the order that templates will be used?
>
> If I have home/index.html.erb and home/index.html/haml, can I get it
> to use the haml file instead of the erb?
>
> I looked through the code and didn't see where haml might be setting
> this, maybe it's something at the rails level?
>
> I forked bort and made it use haml by default but merges get real ugly
> if I delete the erb templates.
>
> Thanks in advance,
> Michael
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to