Well, there's more than one way to accomplish this. I used  
render :partial in my view and then rjs's replace_html in the  
action's view.

This begs the question of Rails' inconsistent support for templating  
languages other than rhtml, rxml, and rjs. I'm going to look into  
this in my "spare" time.

Steve

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