From 869b007172af30fdaac012467424750cde65da23 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 7 Aug 2015 16:20:38 -0700 Subject: the request object manages `env` remove the setter. The request object manages the env hash, so any mutations need to go through it --- actionpack/lib/action_controller/metal.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'actionpack') 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 -- cgit v1.2.3