method

partitioned_routes

Importance_0
v4.2.9 - Show latest stable - 0 notes - Class: Routes
partitioned_routes() 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 40
      def partitioned_routes
        @partitioned_routes ||= routes.partition do |r|
          r.path.anchored && r.ast.grep(Nodes::Symbol).all?(&:default_regexp?)
        end
      end
Register or log in to add new notes.