aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/flash.rb
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2014-06-13 02:23:16 -0500
committerGuillermo Iguaran <guilleiguaran@gmail.com>2014-06-13 02:25:26 -0500
commita62001c5429723a78c7f382e34f157af1a668d68 (patch)
tree4119281ea44577f0f10acc74128c5c94c8fd0bc9 /actionpack/lib/action_controller/metal/flash.rb
parentd6bb7892665d93ee55828c0b5df6c5f5e635c15f (diff)
downloadrails-a62001c5429723a78c7f382e34f157af1a668d68.tar.gz
rails-a62001c5429723a78c7f382e34f157af1a668d68.tar.bz2
rails-a62001c5429723a78c7f382e34f157af1a668d68.zip
Set the status before of setting the response body
The 401 status should be set first because setting the response body in a live controller also closes the response to further changes. Fixes #14229.
Diffstat (limited to 'actionpack/lib/action_controller/metal/flash.rb')
0 files changed, 0 insertions, 0 deletions