Please sign in to comment.
Move setting :scope_level_resource to resource_scope
Originally with_scope_level was exclusively for managing scope levels with resources, however it is now used for other things so it makes more sense to move the responsibility for setting the :scope_level_resource to the resource_scope method. This eliminates repeatedly setting it to the same resource as each resource method scope is evaluated. (cherry picked from commit ed0fb4a)
- Loading branch information...
Showing with 7 additions and 7 deletions.