I have an application.html.erb file which sets out layout for every pages in my app (header, footer etc.) like a typical Rails app.
However, I would like to have a landing page which I don’t want to use this file. How should I bypass application.html.erb?
Thank you.
Use
or
in your action. If you are using a separate
LandingControlleryou simply can create a app/views/layouts/landing.html.erb which will be picked up or you can override the layout via