method

split_constraints

split_constraints(path_params, constraints)
private

No documentation available.

# File actionpack/lib/action_dispatch/routing/mapper.rb, line 258
          def split_constraints(path_params, constraints)
            constraints.partition do |key, requirement|
              path_params.include?(key) || key == :controller
            end
          end