Permalink
Browse files

Have ActionDispatch::Routing::RouteSet.new ready to receive routes as…

… is.
  • Loading branch information...
1 parent deb00bc commit 48672cd1997618f21f50e1204e60dc681e647ddb Carl Lerche committed Mar 5, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/lib/action_dispatch/routing/route_set.rb
@@ -224,6 +224,7 @@ def initialize
self.controller_namespaces = Set.new
@disable_clear_and_finalize = false
+ clear!
end
def draw(options = {}, &block)

0 comments on commit 48672cd

Please sign in to comment.