views:

34

answers:

1

I'm using application.html.erb in the views/layouts folder of my Ruby on Rails web app as a template. But there's one page in which I don't want the template to be used. Is this possible?

+3  A: 

Sure, just do

render :layout => false

in the bottom of your action.

neutrino
You can also specify another different layout to use with `render :layout => 'print'` for example.
nfm
Thanks for the help guys, I really appreciate it.
ben