aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2004-12-09 11:38:44 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2004-12-09 11:38:44 +0000
commit586aa2f2b7b7bfe1476fd9093c9a283a6e693db1 (patch)
treeba05c339e3550504b06a3f992dd69581753d658e /actionpack
parentad354b207a5600fbe7c784f370cf30446925f13c (diff)
downloadrails-586aa2f2b7b7bfe1476fd9093c9a283a6e693db1.tar.gz
rails-586aa2f2b7b7bfe1476fd9093c9a283a6e693db1.tar.bz2
rails-586aa2f2b7b7bfe1476fd9093c9a283a6e693db1.zip
We need to pass the name when deleting the cookie
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@93 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/cookies.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/cookies.rb b/actionpack/lib/action_controller/cookies.rb
index 80ee617987..626a2ce814 100644
--- a/actionpack/lib/action_controller/cookies.rb
+++ b/actionpack/lib/action_controller/cookies.rb
@@ -52,7 +52,7 @@ module ActionController #:nodoc:
# Removes the cookie on the client machine by setting the value to an empty string.
def delete(name)
- set_cookie(name, "value" => "")
+ set_cookie(name, "name" => name, "value" => "")
end
private