diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2008-05-06 12:02:24 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-05-06 12:02:24 +0100 |
commit | e520fd5db7cb839b862c03647effee50f9223d98 (patch) | |
tree | 91c8775e61b75752a7e4790e2b309921b1faea2f /actionpack/lib | |
parent | a53331a161f72b25f6e9c860db43acaf23250f68 (diff) | |
download | rails-e520fd5db7cb839b862c03647effee50f9223d98.tar.gz rails-e520fd5db7cb839b862c03647effee50f9223d98.tar.bz2 rails-e520fd5db7cb839b862c03647effee50f9223d98.zip |
Delegate action_name to controller inside views.
Diffstat (limited to 'actionpack/lib')
-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 a6da81de07..d32c6fbe35 100644 --- a/actionpack/lib/action_view/base.rb +++ b/actionpack/lib/action_view/base.rb @@ -185,7 +185,7 @@ module ActionView #:nodoc: attr_internal :request delegate :request_forgery_protection_token, :template, :params, :session, :cookies, :response, :headers, - :flash, :logger, :to => :controller + :flash, :logger, :action_name, :to => :controller module CompiledTemplates #:nodoc: # holds compiled template code |