diff options
author | Joshua Peek <josh@joshpeek.com> | 2010-01-16 17:21:46 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2010-01-16 17:22:27 -0600 |
commit | d2d4acf02793580e0f0c1bc380389527325b6254 (patch) | |
tree | c7749a89bda18f9367a31048f5a2e217dd3eae25 /actionpack/lib/action_dispatch/http/response.rb | |
parent | 8d87c80c19b7f0c0966fcfd52e7a6ed99d347a36 (diff) | |
download | rails-d2d4acf02793580e0f0c1bc380389527325b6254.tar.gz rails-d2d4acf02793580e0f0c1bc380389527325b6254.tar.bz2 rails-d2d4acf02793580e0f0c1bc380389527325b6254.zip |
Cookies middleware
Diffstat (limited to 'actionpack/lib/action_dispatch/http/response.rb')
-rw-r--r-- | actionpack/lib/action_dispatch/http/response.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/http/response.rb b/actionpack/lib/action_dispatch/http/response.rb index 65df9b1f03..f299306ff4 100644 --- a/actionpack/lib/action_dispatch/http/response.rb +++ b/actionpack/lib/action_dispatch/http/response.rb @@ -119,7 +119,7 @@ module ActionDispatch # :nodoc: def to_a assign_default_content_type_and_charset! handle_conditional_get! - self["Set-Cookie"] = @cookie.join("\n") + self["Set-Cookie"] = @cookie.join("\n") unless @cookie.blank? self["ETag"] = @etag if @etag super end |