Flowdock
method

partition_route

Importance_0
v5.0.0.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 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
Register or log in to add new notes.