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?
views:
34answers:
1
+3
A:
Sure, just do
render :layout => false
in the bottom of your action.
neutrino
2010-05-16 17:18:06
You can also specify another different layout to use with `render :layout => 'print'` for example.
nfm
2010-05-17 01:05:06
Thanks for the help guys, I really appreciate it.
ben
2010-05-17 02:15:07