# File lib/action_dispatch/routing/mapper.rb, line 660 def constraints(constraints = {}) scope(:constraints => constraints) { yield } end