diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-06-09 14:50:01 -0700 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-06-09 16:47:39 -0700 |
commit | acb244778587ff400f5b1d54e27028a2dae91101 (patch) | |
tree | 1f5ef2834fed591730bf6c3ce76333151fd4479a /actionpack/lib/action_controller/new_base | |
parent | d7e0cb05cc8adad430d0e97efef1608eef58db80 (diff) | |
download | rails-acb244778587ff400f5b1d54e27028a2dae91101.tar.gz rails-acb244778587ff400f5b1d54e27028a2dae91101.tar.bz2 rails-acb244778587ff400f5b1d54e27028a2dae91101.zip |
Write documentation for AbstractController::Helpers
Diffstat (limited to 'actionpack/lib/action_controller/new_base')
-rw-r--r-- | actionpack/lib/action_controller/new_base/helpers.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/new_base/helpers.rb b/actionpack/lib/action_controller/new_base/helpers.rb index e8000be87b..8925dd3969 100644 --- a/actionpack/lib/action_controller/new_base/helpers.rb +++ b/actionpack/lib/action_controller/new_base/helpers.rb @@ -83,7 +83,7 @@ module ActionController end # Evaluate block in template class if given. - master_helper_module.module_eval(&block) if block_given? + _helpers.module_eval(&block) if block_given? end # Declares helper accessors for controller attributes. For example, the @@ -99,7 +99,7 @@ module ActionController def helpers unless @helper_proxy @helper_proxy = ActionView::Base.new - @helper_proxy.extend master_helper_module + @helper_proxy.extend _helpers else @helper_proxy end |