aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/request_parser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_controller/request_parser.rb')
-rw-r--r--actionpack/lib/action_controller/request_parser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/request_parser.rb b/actionpack/lib/action_controller/request_parser.rb
index 20d53f5d92..d1739ef4d0 100644
--- a/actionpack/lib/action_controller/request_parser.rb
+++ b/actionpack/lib/action_controller/request_parser.rb
@@ -91,7 +91,7 @@ module ActionController
end
def content_length
- @env["action_controller.request.content_length"] ||= @env['CONTENT_LENGTH'].to_i
+ @env['CONTENT_LENGTH'].to_i
end
# The raw content type string. Use when you need parameters such as