instance method
merge_as_scope
Ruby on Rails 8.0.4
Since v3.0.20 PrivateSignature
merge_as_scope(parent, child)
No documentation comment.
Parameters
-
parentreq -
childreq
Source
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 1061
def merge_as_scope(parent, child)
parent ? "#{parent}_#{child}" : child
end
Defined in actionpack/lib/action_dispatch/routing/mapper.rb line 1061
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Routing::Mapper::Scoping