Permalink
Browse files

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
  • Loading branch information...
1 parent ad354b2 commit 586aa2f2b7b7bfe1476fd9093c9a283a6e693db1 @dhh dhh committed Dec 9, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/cookies.rb
@@ -52,7 +52,7 @@ def []=(name, options)
# 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

0 comments on commit 586aa2f

Please sign in to comment.