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