method
partitioned_routes
v6.1.7.7 -
Show latest stable
- Class:
ActionDispatch::Journey::Router
partitioned_routes()private
No documentation available.
# File actionpack/lib/action_dispatch/journey/router.rb, line 86
def partitioned_routes
routes.partition { |r|
r.path.anchored && r.ast.grep(Nodes::Symbol).all? { |n| n.default_regexp? }
}
end