method

split_constraints

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: ActionDispatch::Routing::Mapper::Mapping
split_constraints(path_params, constraints) private

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 256
          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.