As a followup to my previous post, if I do:

render :partial => 'a_bit_of_a_list'

everything works fine. My issue is that render => :template seems now  
to be deprecated and render => :file doesn't look for templating  
engine files.

Any thoughts on this?

Thx

On Apr 21, 2007, at 11:49 PM, Nathan Weizenbaum wrote:

>
> I believe there's a flag you can pass... :format => 'haml' or  
> something
> like that. That may only be for render :inline, though.
>
> - Nathan
>
> s.ross wrote:
>> I have a periodically_call_remote action that should render a
>> template, and in that controller action I wrote:
>>
>> render :template => 'list', :layout => false
>>
>> Rails helpfully looks for list.rhtml. Anyone know how to make Rails
>> look for list.haml?
>>
>> Thx
>>
>>>
>>
>>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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