Using a different layout for just one action in controller

in your action:

render [render stuff], :layout => ‘layout_name’

Jason

Jason wrote:

Jason Roelofs wrote:

in your action:

render [render stuff], :layout => 'layout_name'

Jason

I tried that, but my controller does checking on db stuff, and if it fails, I do a redirect_to, then I get an error about render and redirect_to in the same action.

You can always put the test in an if/else...

b