aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xactionpack/lib/action_controller/request.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/request.rb b/actionpack/lib/action_controller/request.rb
index cdd35cc17b..caab289acd 100755
--- a/actionpack/lib/action_controller/request.rb
+++ b/actionpack/lib/action_controller/request.rb
@@ -325,7 +325,7 @@ module ActionController
strategy = ActionController::Base.param_parsers[mime_type]
# Only multipart form parsing expects a stream.
- body = raw_post if strategy && strategy != :multipart_form
+ body = (strategy && strategy != :multipart_form) ? raw_post : self.body
case strategy
when Proc