From 86a48814a7599bfc93f642d15c02e55c5ec09248 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Fri, 4 Jan 2013 07:12:36 +0900 Subject: no, call <%= yield %> --- railties/lib/rails/generators/rails/app/templates/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/lib/rails/generators') 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 layout :default 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 -- cgit v1.2.3