aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/request_parser.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-01-09 11:15:38 -0600
committerJoshua Peek <josh@joshpeek.com>2009-01-09 11:47:44 -0600
commite1f73aab8ca679a68a32bec6c0d72eb8a58d8788 (patch)
treee097c9c5dfc6dc6426c13a20bc911803f7da4caf /actionpack/lib/action_controller/request_parser.rb
parente0fa041fce963744eaa4ef98a55d90ed895a6a00 (diff)
downloadrails-e1f73aab8ca679a68a32bec6c0d72eb8a58d8788.tar.gz
rails-e1f73aab8ca679a68a32bec6c0d72eb8a58d8788.tar.bz2
rails-e1f73aab8ca679a68a32bec6c0d72eb8a58d8788.zip
Inherit ActionController::Request from Rack::Request
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