How can I remove the layout application.html.erb from rendering on a particular page. It is now visible on all pages in my application.
How can I remove the layout application.html.erb from rendering on a particular page. It
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can override default rendering at the controller level.
You can also override rendering of layouts at a controller action level:
And, if you are really desperate, you can override layouts in the view:
See the excellent rails guide on the subject: layouts and rendering in Rails
ian.