diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-12-14 15:47:52 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-12-14 15:47:52 -0600 |
commit | 2130566acf5ebe73217af40d25a18507dfb0fd99 (patch) | |
tree | 60f93ca255db4354463c6b188bd185cf9faa33bf /actionpack/lib/action_dispatch/http | |
parent | f70079efb10f6af1187dc55dfbecc87136dc4738 (diff) | |
download | rails-2130566acf5ebe73217af40d25a18507dfb0fd99.tar.gz rails-2130566acf5ebe73217af40d25a18507dfb0fd99.tar.bz2 rails-2130566acf5ebe73217af40d25a18507dfb0fd99.zip |
Fix warnings in AD::Response
Diffstat (limited to 'actionpack/lib/action_dispatch/http')
-rw-r--r-- | actionpack/lib/action_dispatch/http/response.rb | 3 |
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 |