aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2013-01-04 07:12:36 +0900
committerAkira Matsuda <ronnie@dio.jp>2013-01-04 07:12:36 +0900
commit86a48814a7599bfc93f642d15c02e55c5ec09248 (patch)
tree11a45f6891d001c1dcbd2fdac6e3bf2dc8e36795
parente5d4367e191c55a61e4024aac1995edbfbf71090 (diff)
downloadrails-86a48814a7599bfc93f642d15c02e55c5ec09248.tar.gz
rails-86a48814a7599bfc93f642d15c02e55c5ec09248.tar.bz2
rails-86a48814a7599bfc93f642d15c02e55c5ec09248.zip
no, call <%= yield %>
-rw-r--r--railties/lib/rails/generators/rails/app/templates/README2
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