Permalink
Browse files

use the helpers list rather than getting the methods from the module

  • Loading branch information...
1 parent 06573a3 commit ccaeb6b6671609aa07d386bbe24d44a996f40e1e @tenderlove tenderlove committed Jan 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_dispatch/routing/route_set.rb
@@ -122,7 +122,7 @@ def handle_positional_args(args, options, segment_keys)
end
def helper_names
- self.module.instance_methods.map(&:to_s)
+ @helpers.map(&:to_s)
end
def clear!

0 comments on commit ccaeb6b

Please sign in to comment.