From 06573a3a767963b5845af2850bab9e6a127e3374 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Thu, 24 Jan 2013 15:33:08 -0800 Subject: module_eval is not necessary here --- actionpack/lib/action_dispatch/routing/route_set.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'actionpack') diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb index 66d4706228..b86044922f 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -127,9 +127,7 @@ module ActionDispatch def clear! @helpers.each do |helper| - @module.module_eval do - remove_possible_method helper - end + @module.remove_possible_method helper end @routes.clear -- cgit v1.2.3