diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-12-29 17:27:10 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-12-30 10:02:49 -0800 |
commit | 5681f79f642c57397bf18d239a9aa1dbf71b0f24 (patch) | |
tree | df639b5988721ab0faf8d73a57b9f4de632b3bf5 /actionpack/lib | |
parent | 116b9edf95ccaa59feb6afe67b126ad3da526b92 (diff) | |
download | rails-5681f79f642c57397bf18d239a9aa1dbf71b0f24.tar.gz rails-5681f79f642c57397bf18d239a9aa1dbf71b0f24.tar.bz2 rails-5681f79f642c57397bf18d239a9aa1dbf71b0f24.zip |
be explicit about where helpers are installed
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/route_set.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb index c60e26983d..10b3e212e6 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -276,7 +276,7 @@ module ActionDispatch @prepend.each { |blk| eval_block(blk) } end - def install_helpers(destinations = [ActionController::Base, ActionView::Base]) + def install_helpers(destinations) destinations.each { |d| d.module_eval { include Helpers } } named_routes.install(destinations) end |