class ActionDispatch::Journey::Routes

def partition_route(route)

def partition_route(route)
  if route.path.anchored && route.path.requirements_anchored?
    anchored_routes << route
  else
    custom_routes << route
  end
end