Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 93

Show
Ignore:
Timestamp:
12/09/04 11:38:44 (4 years ago)
Author:
david
Message:

We need to pass the name when deleting the cookie

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/lib/action_controller/cookies.rb

    r92 r93  
    5353    # Removes the cookie on the client machine by setting the value to an empty string. 
    5454    def delete(name) 
    55       set_cookie(name, "value" => "") 
     55      set_cookie(name, "name" => name, "value" => "") 
    5656    end 
    5757