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:
parent
ad354b207a
commit
586aa2f2b7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user