diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-10-28 01:39:23 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-10-28 01:39:23 -0200 |
commit | 80c6b901d4d87cee610ab0a438ff6e3c6bf118d1 (patch) | |
tree | 7df67f73198b0614ab4c2c732044c649f1dbc681 /actionpack | |
parent | a8876760041fcdb657320a311bb275a20a4856e2 (diff) | |
download | rails-80c6b901d4d87cee610ab0a438ff6e3c6bf118d1.tar.gz rails-80c6b901d4d87cee610ab0a438ff6e3c6bf118d1.tar.bz2 rails-80c6b901d4d87cee610ab0a438ff6e3c6bf118d1.zip |
Remove dead code
This is leftover from when `render nothing: true` rendered blank string.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/http/response.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/actionpack/lib/action_dispatch/http/response.rb b/actionpack/lib/action_dispatch/http/response.rb index c54efb6541..f0127aa276 100644 --- a/actionpack/lib/action_dispatch/http/response.rb +++ b/actionpack/lib/action_dispatch/http/response.rb @@ -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 |