method
id_constraint?
v3.0.0 -
Show latest stable
- Class:
ActionDispatch::Routing::Mapper::Resources
id_constraint?()protected
No documentation available.
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 850
def id_constraint?
@scope[:id].is_a?(Regexp) || (@scope[:constraints] && @scope[:constraints][:id].is_a?(Regexp))
end