I use format.js for rjs.

On Mar 6, 7:05 am, "Mislav Marohnić" <[EMAIL PROTECTED]>
wrote:
> On 3/6/07, Alexey Verkhovsky <[EMAIL PROTECTED]> wrote:
>
>
>
> > Generally, "no layout" seems like a reasonable default for RJS and RXML
> > templates to me. I have yet to see anyone using those things with a layout,
> > so the current behavior usually results in extra code to switch it off.
> > Thoughts?
>
> RXML isn't just for feeds and data dumps - people use it for XHTML, also.
> But I agree with you that RJS responses shouldn't have implicit layout.
>
> Maybe we should teach respond_to about this: include a template only for the
> main response (usually HTML), but implicitly turn of layout for others.
> People could then explicitly choose a layout for them.


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