Skip to content
Browse files

modules don't have any instance methods

  • Loading branch information...
1 parent c99d507 commit 25b10f4c1c7db7dea631d6877fdd6eae5947fe21 @tenderlove tenderlove committed
Showing with 1 addition and 3 deletions.
  1. +1 −3 actionpack/lib/action_dispatch/routing/route_set.rb
View
4 actionpack/lib/action_dispatch/routing/route_set.rb
@@ -94,9 +94,7 @@ def clear!
@routes = {}
@helpers = []
- @module ||= Module.new do
- instance_methods.each { |selector| remove_method(selector) }
- end
+ @module ||= Module.new
end
def add(name, route)

0 comments on commit 25b10f4

Please sign in to comment.
Something went wrong with that request. Please try again.