diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-05-20 07:04:51 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-05-20 07:04:51 +0000 |
commit | 9bf38dec69b68ab34d6ffcc4707df14cf074caae (patch) | |
tree | bca703b49d00890e5faed4526eb6cfe4d0828641 /actionpack/lib/action_view/base.rb | |
parent | 92b925b1c55d9216d2af74fcdaf774b3d2b69160 (diff) | |
download | rails-9bf38dec69b68ab34d6ffcc4707df14cf074caae.tar.gz rails-9bf38dec69b68ab34d6ffcc4707df14cf074caae.tar.bz2 rails-9bf38dec69b68ab34d6ffcc4707df14cf074caae.zip |
Include flash in the list of attributes with accessors in the view
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1334 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view/base.rb')
-rw-r--r-- | actionpack/lib/action_view/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/base.rb b/actionpack/lib/action_view/base.rb index 998578e35b..fa51ec2947 100644 --- a/actionpack/lib/action_view/base.rb +++ b/actionpack/lib/action_view/base.rb @@ -123,7 +123,7 @@ module ActionView #:nodoc: attr_accessor :base_path, :assigns, :template_extension attr_accessor :controller - attr_reader :logger, :params, :response, :session, :headers + attr_reader :logger, :params, :response, :session, :headers, :flash # Turn on to cache the reading of templates from the file system. Doing so means that you have to restart the server # when changing templates, but that rendering will be faster. |