diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2013-01-24 15:43:08 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-01-24 15:43:08 -0800 |
commit | ccaeb6b6671609aa07d386bbe24d44a996f40e1e (patch) | |
tree | 07290bd504cd11917fcbb13eae14a57b46810041 | |
parent | 06573a3a767963b5845af2850bab9e6a127e3374 (diff) | |
download | rails-ccaeb6b6671609aa07d386bbe24d44a996f40e1e.tar.gz rails-ccaeb6b6671609aa07d386bbe24d44a996f40e1e.tar.bz2 rails-ccaeb6b6671609aa07d386bbe24d44a996f40e1e.zip |
use the helpers list rather than getting the methods from the module
-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 b86044922f..705314f8ab 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -122,7 +122,7 @@ module ActionDispatch end def helper_names - self.module.instance_methods.map(&:to_s) + @helpers.map(&:to_s) end def clear! |