method
collection_scope
v3.0.0 -
Show latest stable
- Class:
ActionDispatch::Routing::Mapper::Resources
collection_scope()protected
No documentation available.
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 827
def collection_scope
with_scope_level(:collection) do
scope(parent_resource.collection_scope) do
yield
end
end
end