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

This commit is contained in:
Carl Lerche
2010-03-04 19:01:48 -08:00
parent deb00bcb8c
commit 48672cd199

View File

@@ -224,6 +224,7 @@ module ActionDispatch
self.controller_namespaces = Set.new
@disable_clear_and_finalize = false
clear!
end
def draw(options = {}, &block)