diff options
| author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2014-06-13 02:23:16 -0500 |
|---|---|---|
| committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2014-06-13 02:25:26 -0500 |
| commit | a62001c5429723a78c7f382e34f157af1a668d68 (patch) | |
| tree | 4119281ea44577f0f10acc74128c5c94c8fd0bc9 /railties/lib/rails/all.rb | |
| parent | d6bb7892665d93ee55828c0b5df6c5f5e635c15f (diff) | |
| download | rails-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 'railties/lib/rails/all.rb')
0 files changed, 0 insertions, 0 deletions
