aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2013-01-24 15:43:08 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2013-01-24 15:43:08 -0800
commitccaeb6b6671609aa07d386bbe24d44a996f40e1e (patch)
tree07290bd504cd11917fcbb13eae14a57b46810041 /actionpack/lib/action_dispatch/routing
parent06573a3a767963b5845af2850bab9e6a127e3374 (diff)
downloadrails-ccaeb6b6671609aa07d386bbe24d44a996f40e1e.tar.gz
rails-ccaeb6b6671609aa07d386bbe24d44a996f40e1e.tar.bz2
rails-ccaeb6b6671609aa07d386bbe24d44a996f40e1e.zip
use the helpers list rather than getting the methods from the module
Diffstat (limited to 'actionpack/lib/action_dispatch/routing')
-rw-r--r--actionpack/lib/action_dispatch/routing/route_set.rb2
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!