aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-08-08 15:04:20 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-08-08 15:04:20 -0700
commit5e81e6ca31aa0d2a38f8db5c8fe9bcbce98d9689 (patch)
treecd7e23b112522b5b13c734bae4f9cb2e8b352ed2 /actionpack
parentaeaf32e1b39b9f78f8abda2bfa208c883d64135b (diff)
downloadrails-5e81e6ca31aa0d2a38f8db5c8fe9bcbce98d9689.tar.gz
rails-5e81e6ca31aa0d2a38f8db5c8fe9bcbce98d9689.tar.bz2
rails-5e81e6ca31aa0d2a38f8db5c8fe9bcbce98d9689.zip
remove the setter from `Scope`
it isn't used.
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/routing/mapper.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb
index 64352d5742..226f6b56d1 100644
--- a/actionpack/lib/action_dispatch/routing/mapper.rb
+++ b/actionpack/lib/action_dispatch/routing/mapper.rb
@@ -1971,10 +1971,6 @@ module ActionDispatch
def [](key)
@hash.fetch(key) { @parent[key] }
end
-
- def []=(k,v)
- @hash[k] = v
- end
end
def initialize(set) #:nodoc: