method
merge_blocks_scope
v4.2.7 -
Show latest stable
- Class:
ActionDispatch::Routing::Mapper::Scoping
merge_blocks_scope(parent, child)public
No documentation available.
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 994
def merge_blocks_scope(parent, child) #:nodoc:
merged = parent ? parent.dup : []
merged << child if child
merged
end