Skip to content
Browse files

no, call <%= yield %>

  • Loading branch information...
1 parent e5d4367 commit 86a48814a7599bfc93f642d15c02e55c5ec09248 @amatsuda amatsuda committed Jan 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/rails/app/templates/README
View
2 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

0 comments on commit 86a4881

Please sign in to comment.
Something went wrong with that request. Please try again.