From 586aa2f2b7b7bfe1476fd9093c9a283a6e693db1 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 9 Dec 2004 11:38:44 +0000 Subject: 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 --- actionpack/lib/action_controller/cookies.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib') 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 -- cgit v1.2.3