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