# File lib/action_dispatch/routing/mapper.rb, line 1236 def resource_scope? [:resource, :resources].include?(@scope[:scope_level]) end