method
with_scope_level
v5.0.0.1 -
Show latest stable
- Class:
ActionDispatch::Routing::Mapper::Scoping::Resources
with_scope_level(kind)protected
No documentation available.
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 1799
def with_scope_level(kind)
@scope = @scope.new_level(kind)
yield
ensure
@scope = @scope.parent
end