1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

module_eval is not necessary here

This commit is contained in:
Aaron Patterson 2013-01-24 15:33:08 -08:00
parent 345fc3badb
commit 06573a3a76

View file

@ -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