Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

modules don't have any instance methods

  • Loading branch information...
commit 25b10f4c1c7db7dea631d6877fdd6eae5947fe21 1 parent c99d507
@tenderlove tenderlove authored
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)
Please sign in to comment.
Something went wrong with that request. Please try again.