Topic: Overriding application layout

Oddly enough, I can't seem to find any mention of how to do this, but maybe I'm just searching the wrong words.

Anyways, I made a general application layout, but I have one page that I want to render on its own, not inside of the div where most content goes.  What do I do to make that controller, or the link, ignore the application layout?

Re: Overriding application layout

If it's just one action, you can do:

render :layout => false

in the action.

Railscasts - Free Ruby on Rails Screencasts

Re: Overriding application layout

Or if it's one action in a controller, you can do this:

layout "layout_name", :except => :your_action

vinnie - rails forum admin