mirror of
https://github.com/github/rails.git
synced 2026-01-29 16:28:09 -05:00
Don't alias local var
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6829 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user