On 7/7/07, Josh Peek <[EMAIL PROTECTED]> wrote:
>
> Referring to brandon's example... (http://pastie.caboo.se/76204)
>
> It seems to me like it should act that way. If I wanted to change the
> template format, I would do render :action =>
> "index.html.erb", :layout => false (Not tested, but I hope works)

That's a bit of a messy api,  perhaps something like:

render :partial=>'something', :format=>:html

Would at least be a little more flexible?  However I'm going to
completely punt on actually implementing this...




-- 
Cheers

Koz

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to