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