method

partitioned_routes

rails latest stable - Class: ActionDispatch::Journey::Routes

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

partitioned_routes()
public

No documentation available.

# File actionpack/lib/action_dispatch/journey/routes.rb, line 40
      def partitioned_routes
        @partitioned_routes ||= routes.partition do |r|
          r.path.anchored && r.ast.grep(Nodes::Symbol).all?(&:default_regexp?)
        end
      end