mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Set the body using the accessor for AD::Response introspection mode so it gets wrapped in a []
This commit is contained in:
parent
8689989a52
commit
faf3c2f827
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,8 @@ module ActionDispatch # :nodoc:
|
||||||
@block = nil
|
@block = nil
|
||||||
@length = 0
|
@length = 0
|
||||||
|
|
||||||
@status, @header, @body = status, header, body
|
@status, @header = status, header
|
||||||
|
self.body = body
|
||||||
|
|
||||||
@cookie = []
|
@cookie = []
|
||||||
@sending_file = false
|
@sending_file = false
|
||||||
|
|
Loading…
Reference in a new issue