阅读背景:

在渲染布局时,如何让Rails排除application.erb?

来源:互联网 

I'm making an AAJX request to an action in a controller. I fetch the rendered HTML and display it in a tag in the current page. The view that I'm POSTing to, renders the layout with the default application.erb. I would like rails to use the default layout for the controller/action but not render the main application.erb. How do I do this?I'm making an AAJX request to an action in a co




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

分享到: