Only use shallow nested scope when depth is > 1
By tracking the depth of resource nesting we can push the need for nested shallow scoping to only those routes that are nested more than one deep. This allows us to keep the fix for #12498 and fix the regression in #14224. Fixes #14224.
Showing
想要评论请 注册 或 登录