diff options
| author | Carlhuda <carlhuda@engineyard.com> | 2010-02-26 18:24:55 -0800 |
|---|---|---|
| committer | Carlhuda <carlhuda@engineyard.com> | 2010-02-26 18:24:55 -0800 |
| commit | faf3c2f827e786bc06ea143b80bb98c9a1e18304 (patch) | |
| tree | 64587dc2f2946ca5fd29bb98db3f1fda8dc932c2 /actionpack/lib/action_dispatch | |
| parent | 8689989a52fb673650c45322f060093678c6b91e (diff) | |
| download | rails-faf3c2f827e786bc06ea143b80bb98c9a1e18304.tar.gz rails-faf3c2f827e786bc06ea143b80bb98c9a1e18304.tar.bz2 rails-faf3c2f827e786bc06ea143b80bb98c9a1e18304.zip | |
Set the body using the accessor for AD::Response introspection mode so it gets wrapped in a []
Diffstat (limited to 'actionpack/lib/action_dispatch')
| -rw-r--r-- | actionpack/lib/action_dispatch/http/response.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/http/response.rb b/actionpack/lib/action_dispatch/http/response.rb index e6ed28742f..9cfe5a5ea9 100644 --- a/actionpack/lib/action_dispatch/http/response.rb +++ b/actionpack/lib/action_dispatch/http/response.rb @@ -43,7 +43,8 @@ module ActionDispatch # :nodoc: @block = nil @length = 0 - @status, @header, @body = status, header, body + @status, @header = status, header + self.body = body @cookie = [] @sending_file = false |
