提交 a664686e 编写于 作者: R Rafael Mendonça França

Merge pull request #8732 from amatsuda/readme_call_yield

a tiny fix in the generated README
......@@ -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.
先完成此消息的编辑!
想要评论请 注册