Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

improve grammar describing ActionDispatch::Cookies::CookieJar#delete

  • Loading branch information...
commit ab27e9bcdac28087f18c572fcb46681b6e02c84a 1 parent 336dae0
Weston Platter authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_dispatch/middleware/cookies.rb
View
2  actionpack/lib/action_dispatch/middleware/cookies.rb
@@ -205,7 +205,7 @@ def []=(key, options)
end
# Removes the cookie on the client machine by setting the value to an empty string
- # and setting its expiration date into the past. Like <tt>[]=</tt>, you can pass in
+ # and sets its expiration date in the past. Like <tt>[]=</tt>, you can pass in
# an options hash to delete cookies with extra data such as a <tt>:path</tt>.
def delete(key, options = {})
return unless @cookies.has_key? key.to_s
Please sign in to comment.
Something went wrong with that request. Please try again.