Flowdock
method

constraint_args

Importance_0
v3.1.0 - Show latest stable - 0 notes - Class: ActionDispatch::Routing::Mapper::Constraints
constraint_args(constraint, request) 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 45
          def constraint_args(constraint, request)
            constraint.arity == 1 ? [request] : [request.symbolized_path_parameters, request]
          end
Register or log in to add new notes.