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:
parent
345fc3badb
commit
06573a3a76
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue