question about using layout template in controller

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?


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.