aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2014-03-02 14:02:25 +0200
committerAndrew White <andyw@pixeltrix.co.uk>2014-03-08 19:51:06 +0000
commited0fb4ae7ea28cf3eecce6ec02650bcffc7c7657 (patch)
tree51ce52cef30a56a4a555204117cd4d410f6209b4 /tools
parent002c0634d1e11a13e901288c66219808aff51f83 (diff)
downloadrails-ed0fb4ae7ea28cf3eecce6ec02650bcffc7c7657.tar.gz
rails-ed0fb4ae7ea28cf3eecce6ec02650bcffc7c7657.tar.bz2
rails-ed0fb4ae7ea28cf3eecce6ec02650bcffc7c7657.zip
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.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions