method

partition_route

partition_route(route)
public

No documentation available.

# File actionpack/lib/action_dispatch/journey/routes.rb, line 41
      def partition_route(route)
        if route.path.anchored && route.ast.grep(Nodes::Symbol).all?(&:default_regexp?)
          anchored_routes << route
        else
          custom_routes << route
        end
      end