1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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
This commit is contained in:
David Heinemeier Hansson 2004-12-09 11:38:44 +00:00
parent ad354b207a
commit 586aa2f2b7

View file

@ -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