Reputation: 29777
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?
Upvotes: 0
Views: 88
Reputation: 24164
Sure, just do
render :layout => false
in the bottom of your action.
Upvotes: 4