method
with_exclusive_scope
with_exclusive_scope()
protected
Hide source
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 1653 def with_exclusive_scope begin @scope = @scope.new(:as => nil, :path => nil) with_scope_level(:exclusive) do yield end ensure @scope = @scope.parent end end