草庐IT

ruby-on-rails - ruby on rails 如何在没有布局和其他头部字段的情况下呈现页面

elserespond_todo|format|format.html{render"tabelle/show"}endend我想呈现页面......只有该页面中的代码......不添加...布局和rubyonrails中的字段。我只想在页面tabelle/show.html.haml中显示代码的结果 最佳答案 你可以这样做:format.html{render"tabelle/show",:layout=>false} 关于ruby-on-rails-rubyonrails如何在没有布