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