提交 86a48814 编写于 作者: A Akira Matsuda

no, call <%= yield %>

上级 e5d4367e
......@@ -220,7 +220,7 @@ app/views/layouts
Holds the template files for layouts to be used with views. This models the
common header/footer method of wrapping views. In your views, define a layout
using the <tt>layout :default</tt> and create a file named default.html.erb.
Inside default.html.erb, call <% yield %> to render the view using this
Inside default.html.erb, call <%= yield %> to render the view using this
layout.
app/helpers
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册