阅读背景:

Rails不加载application.html。而是加载视图存根

来源:互联网 

My application.html.erb is a classic file with the <%= yield %> statement. The expected would be if I went to domain.com/controller/action that it yields to the view in the appropriate directory. Instead, it's pulling up just the view (the correct view, but without the application wrapper). (There's no other layouts other than application)My application.html.erb is a classic file with




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: