method

split_constraints

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ActionDispatch::Routing::Mapper::Mapping
split_constraints(path_params, constraints) 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/routing/mapper.rb, line 237
          def split_constraints(path_params, constraints)
            constraints.partition do |key, requirement|
              path_params.include?(key) || key == :controller
            end
          end
Register or log in to add new notes.