So try: layout 'template_name', :except => :my_action

where :my_action is the action you don't want rendered in the context
of the specified layout.

On Jun 10, 10:15 am, grasshopper <revi2...@gmail.com> wrote:
> Hello all,
>
> I'd like to use " layout 'template_name' " in a controller. However,
> I'd also like to have an action on this controller not be rendered
> within this layout template rather just render the action's
> corresponding view.
>
> Can this be done?
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to