From ccaeb6b6671609aa07d386bbe24d44a996f40e1e Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Thu, 24 Jan 2013 15:43:08 -0800 Subject: use the helpers list rather than getting the methods from the module --- actionpack/lib/action_dispatch/routing/route_set.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_dispatch/routing') 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! -- cgit v1.2.3