diff options
author | Rizwan Reza <rizwanreza@gmail.com> | 2010-06-11 13:38:03 +0430 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-06-11 16:34:53 +0200 |
commit | 6148b2dd738ff422b80502935857ecaec2161a23 (patch) | |
tree | 0d8a6afa8c696dcdd77b294af631efe4d75dca16 | |
parent | f99132663b2ceee56f6e02ada396a911e4e20da2 (diff) | |
download | rails-6148b2dd738ff422b80502935857ecaec2161a23.tar.gz rails-6148b2dd738ff422b80502935857ecaec2161a23.tar.bz2 rails-6148b2dd738ff422b80502935857ecaec2161a23.zip |
Adding missing docs to delete cookies with :all which were added that way.
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/cookies.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/cookies.rb b/actionpack/lib/action_dispatch/middleware/cookies.rb index 0ba4bc7782..2b3538af25 100644 --- a/actionpack/lib/action_dispatch/middleware/cookies.rb +++ b/actionpack/lib/action_dispatch/middleware/cookies.rb @@ -48,7 +48,8 @@ module ActionDispatch # * <tt>:domain</tt> - The domain for which this cookie applies so you can # restrict to the domain level. If you use a schema like www.example.com # and want to share session with user.example.com set <tt>:domain</tt> - # to <tt>:all</tt> + # to <tt>:all</tt>. Make sure to specify the <tt>:domain</tt> option with + # <tt>:all</tt> again when deleting keys. # # :domain => nil # Does not sets cookie domain. (default) # :domain => :all # Allow the cookie for the top most level |