diff options
author | Yehuda Katz <wycats@gmail.com> | 2009-07-19 21:53:02 +0900 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-07-19 21:53:02 +0900 |
commit | bb530923bcd5c643f9bfca8e36cd3fa36365032d (patch) | |
tree | e5d821e7f13334a64a3936d0a484bbcd8667552f /actionpack/lib/action_controller/abstract/helpers.rb | |
parent | 1a2946a6d9b1dbcf3a4c77654693d73f9b11bde1 (diff) | |
download | rails-bb530923bcd5c643f9bfca8e36cd3fa36365032d.tar.gz rails-bb530923bcd5c643f9bfca8e36cd3fa36365032d.tar.bz2 rails-bb530923bcd5c643f9bfca8e36cd3fa36365032d.zip |
Simplify required "ActionView compliant" API
Diffstat (limited to 'actionpack/lib/action_controller/abstract/helpers.rb')
-rw-r--r-- | actionpack/lib/action_controller/abstract/helpers.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/actionpack/lib/action_controller/abstract/helpers.rb b/actionpack/lib/action_controller/abstract/helpers.rb index 6b73f887c1..5efa37fde3 100644 --- a/actionpack/lib/action_controller/abstract/helpers.rb +++ b/actionpack/lib/action_controller/abstract/helpers.rb @@ -8,12 +8,6 @@ module AbstractController extlib_inheritable_accessor(:_helpers) { Module.new } end - # Override AbstractController::Renderer's _action_view to include the - # helper module for this class into its helpers module. - def _action_view - @_action_view ||= super.tap { |av| av.helpers.include(_helpers) } - end - module ClassMethods # When a class is inherited, wrap its helper module in a new module. # This ensures that the parent class's module can be changed |