lib/jets/router.rb in jets-1.9.2 vs lib/jets/router.rb in jets-1.9.3
- old
+ new
@@ -139,9 +139,13 @@
router = Jets.application.routes
@@drawn_router = router
end
+ def self.clear!
+ @@drawn_router = nil
+ end
+
def self.routes
drawn_router.routes
end
# Returns all paths including subpaths.