diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-10 14:31:29 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-10 14:31:29 -0700 |
commit | 628a23cdd230f7f830ecbba137ab2430f69e8db5 (patch) | |
tree | 2f9ecb8c97cfade9fdff8807fa9574418b5ed921 | |
parent | 6ac882bb58b429d20b76c96975df7dabaf618988 (diff) | |
download | rails-628a23cdd230f7f830ecbba137ab2430f69e8db5.tar.gz rails-628a23cdd230f7f830ecbba137ab2430f69e8db5.tar.bz2 rails-628a23cdd230f7f830ecbba137ab2430f69e8db5.zip |
remove dead code
This method isn't used internally, isn't tested, isn't documented. We
should delete it.
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index 09abeb43a1..da0970d110 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -1671,18 +1671,6 @@ module ActionDispatch @scope.nested? end - 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 - def with_scope_level(kind) @scope = @scope.new_level(kind) yield |