Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 6829

Show
Ignore:
Timestamp:
05/24/07 20:42:03 (1 year ago)
Author:
bitsweat
Message:

Don't alias local var

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/lib/action_controller/request.rb

    r6823 r6829  
    326326 
    327327        # Only multipart form parsing expects a stream. 
    328         body = raw_post if strategy && strategy != :multipart_form 
     328        body = (strategy && strategy != :multipart_form) ? raw_post : self.body 
    329329 
    330330        case strategy