diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-01-03 14:17:21 -0800 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-01-03 14:17:21 -0800 |
commit | a664686e47fb8fb2ffa3e512bdbd380face4e577 (patch) | |
tree | 11a45f6891d001c1dcbd2fdac6e3bf2dc8e36795 | |
parent | e5d4367e191c55a61e4024aac1995edbfbf71090 (diff) | |
parent | 86a48814a7599bfc93f642d15c02e55c5ec09248 (diff) | |
download | rails-a664686e47fb8fb2ffa3e512bdbd380face4e577.tar.gz rails-a664686e47fb8fb2ffa3e512bdbd380face4e577.tar.bz2 rails-a664686e47fb8fb2ffa3e512bdbd380face4e577.zip |
Merge pull request #8732 from amatsuda/readme_call_yield
a tiny fix in the generated README
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/README | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/README b/railties/lib/rails/generators/rails/app/templates/README index 27fa69f19d..d7d3992a54 100644 --- a/railties/lib/rails/generators/rails/app/templates/README +++ b/railties/lib/rails/generators/rails/app/templates/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 |