diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-07 14:15:53 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-07 14:15:53 +0000 |
commit | 098fa943565e06dafa67ca59ccf433939d2941b4 (patch) | |
tree | 9f660c2aac3e9988d0e1664bac91d884ad2ec3de /actionpack/lib/action_controller/layout.rb | |
parent | 9b0fd9d00d8b6e6c3b16bc513b454185fe169454 (diff) | |
download | rails-098fa943565e06dafa67ca59ccf433939d2941b4.tar.gz rails-098fa943565e06dafa67ca59ccf433939d2941b4.tar.bz2 rails-098fa943565e06dafa67ca59ccf433939d2941b4.zip |
Fixed documentation snafus #575, #576, #577, #585
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/layout.rb')
-rw-r--r-- | actionpack/lib/action_controller/layout.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/layout.rb b/actionpack/lib/action_controller/layout.rb index 82fd9569c3..aca3dbd797 100644 --- a/actionpack/lib/action_controller/layout.rb +++ b/actionpack/lib/action_controller/layout.rb @@ -65,7 +65,7 @@ module ActionController #:nodoc: # <tt>app/views/layouts/weblog.rhtml</tt> or <tt>app/views/layouts/weblog.rxml</tt> exists then it will be automatically set as # the layout for your WeblogController. You can create a layout with the name <tt>application.rhtml</tt> or <tt>application.rxml</tt> # and this will be set as the default controller if there is no layout with the same name as the current controller and there is - # no layout explicitly assigned with the +layout+ method. Setting a layout explicity will always override the automatic behaviour. + # no layout explicitly assigned with the +layout+ method. Setting a layout explicitly will always override the automatic behaviour. # # == Inheritance for layouts # @@ -136,7 +136,7 @@ module ActionController #:nodoc: # This will assign "weblog_standard" as the WeblogController's layout except for the +rss+ action, which will not wrap a layout # around the rendered view. # - # Both the +:only+ and +:except+ condition can accept an aribtrary number of method references, so +:except => [ :rss, :text_only ]+ + # Both the +:only+ and +:except+ condition can accept an arbitrary number of method references, so +:except => [ :rss, :text_only ]+ # is valid, as is # +:except => :rss+. # # == Using a different layout in the action render call |