aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-08-07 16:20:38 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-08-07 16:20:38 -0700
commit869b007172af30fdaac012467424750cde65da23 (patch)
tree4ad7d2a038afaa81bf144b85e98533bbc9fa7e45 /actionpack
parent1f80f3a3738a57be6e36901ef60645fabb6576a9 (diff)
downloadrails-869b007172af30fdaac012467424750cde65da23.tar.gz
rails-869b007172af30fdaac012467424750cde65da23.tar.bz2
rails-869b007172af30fdaac012467424750cde65da23.zip
the request object manages `env`
remove the setter. The request object manages the env hash, so any mutations need to go through it
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/metal.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal.rb b/actionpack/lib/action_controller/metal.rb
index dc2fcf2afa..82e543e033 100644
--- a/actionpack/lib/action_controller/metal.rb
+++ b/actionpack/lib/action_controller/metal.rb
@@ -116,8 +116,6 @@ module ActionController
class Metal < AbstractController::Base
abstract!
- attr_internal_writer :env
-
def env
@_request.env
end