method

partition_route

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: Routes
partition_route(route) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/journey/routes.rb, line 43
      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
Register or log in to add new notes.