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:
parent
ad354b207a
commit
586aa2f2b7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue