Changeset 1180
- Timestamp:
- 04/17/05 07:18:39 (3 years ago)
- Files:
-
- trunk/actionpack/CHANGELOG (modified) (1 diff)
- trunk/actionpack/lib/action_controller/cookies.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/CHANGELOG
r1176 r1180 1 1 *SVN* 2 3 * Added that deleting a cookie should not just set it to an empty string but also instantly expire it #1118 [todd@robotcoop.com] 2 4 3 5 * Added AssetTagHelper#image_path, AssetTagHelper#javascript_path, and AssetTagHelper#stylesheet_path #1110 [Larry Halff] trunk/actionpack/lib/action_controller/cookies.rb
r525 r1180 55 55 end 56 56 57 # Removes the cookie on the client machine by setting the value to an empty string. 57 # Removes the cookie on the client machine by setting the value to an empty string 58 # and setting its expiration date into the past 58 59 def delete(name) 59 set_cookie("name" => name.to_s, "value" => "" )60 set_cookie("name" => name.to_s, "value" => "", "expires" => Time.at(0)) 60 61 end 61 62