instance method
param_constraint?
Ruby on Rails 8.1.2
Since v5.2.8.1 PrivateSignature
param_constraint?()
No documentation comment.
Source
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 2033
def param_constraint?
@scope[:constraints] && @scope[:constraints][parent_resource.param].is_a?(Regexp)
end
Defined in actionpack/lib/action_dispatch/routing/mapper.rb line 2033
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Routing::Mapper::Resources