aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-12-14 15:47:52 -0600
committerJoshua Peek <josh@joshpeek.com>2009-12-14 15:47:52 -0600
commit2130566acf5ebe73217af40d25a18507dfb0fd99 (patch)
tree60f93ca255db4354463c6b188bd185cf9faa33bf /actionpack
parentf70079efb10f6af1187dc55dfbecc87136dc4738 (diff)
downloadrails-2130566acf5ebe73217af40d25a18507dfb0fd99.tar.gz
rails-2130566acf5ebe73217af40d25a18507dfb0fd99.tar.bz2
rails-2130566acf5ebe73217af40d25a18507dfb0fd99.zip
Fix warnings in AD::Response
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/http/response.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/http/response.rb b/actionpack/lib/action_dispatch/http/response.rb
index 4f35a00247..378fd5e61d 100644
--- a/actionpack/lib/action_dispatch/http/response.rb
+++ b/actionpack/lib/action_dispatch/http/response.rb
@@ -49,6 +49,9 @@ module ActionDispatch # :nodoc:
@body, @cookie = [], []
@sending_file = false
+ @blank = false
+ @etag = nil
+
yield self if block_given?
end