mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove dead code
This is leftover from when `render nothing: true` rendered blank string.
This commit is contained in:
parent
a887676004
commit
80c6b901d4
1 changed files with 0 additions and 5 deletions
|
@ -149,7 +149,6 @@ module ActionDispatch # :nodoc:
|
|||
|
||||
self.body, self.status = body, status
|
||||
|
||||
@blank = false
|
||||
@cv = new_cond
|
||||
@committed = false
|
||||
@sending = false
|
||||
|
@ -287,12 +286,8 @@ module ActionDispatch # :nodoc:
|
|||
@stream.write string
|
||||
end
|
||||
|
||||
EMPTY = " "
|
||||
|
||||
# Allows you to manually set or override the response body.
|
||||
def body=(body)
|
||||
@blank = true if body == EMPTY
|
||||
|
||||
if body.respond_to?(:to_path)
|
||||
@stream = body
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue