# File lib/action_dispatch/routing/mapper.rb, line 1220 def id_constraint? @scope[:constraints] && @scope[:constraints][:id].is_a?(Regexp) end