From 21187c0fb4fc559927a2f947f909dedd85969ffb Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 21 Feb 2007 00:29:44 +0000 Subject: Apply the rest of Chads patch git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6180 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/README') diff --git a/railties/README b/railties/README index 0d6affddcd..7b0265321a 100644 --- a/railties/README +++ b/railties/README @@ -133,13 +133,13 @@ app/models app/views Holds the template files for the view that should be named like - weblogs/index.rhtml for the WeblogsController#index action. All views use eRuby + weblogs/index.erb for the WeblogsController#index action. All views use eRuby syntax. 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.rhtml. Inside default.rhtml, + layout :default and create a file named default.erb. Inside default.erb, call <% yield %> to render the view using this layout. app/helpers -- cgit v1.2.3