作者:程序员那些事 | 来源:互联网 | 2023-09-11 17:24
Ihaveanapplication.html.erbfilewhichsetsoutlayoutforeverypagesinmyapp(header,footer
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.
我有一个application.html.erb文件,它为我的应用程序中的每个页面(页眉,页脚等)设置布局,就像典型的Rails应用程序一样。
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?
但是,我想有一个登陆页面,我不想使用这个文件。我应该如何绕过application.html.erb?
Thank you.
谢谢。
3 个解决方案