mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Change Example for
to Example of
This commit is contained in:
parent
02e422b64f
commit
8370e50d85
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ module ActionDispatch
|
|||
# being written will be sent out with the response. Reading a cookie does not get
|
||||
# the cookie object itself back, just the value it holds.
|
||||
#
|
||||
# Examples for writing:
|
||||
# Examples of writing:
|
||||
#
|
||||
# # Sets a simple session cookie.
|
||||
# # This cookie will be deleted when the user's browser is closed.
|
||||
|
@ -38,7 +38,7 @@ module ActionDispatch
|
|||
# # You can also chain these methods:
|
||||
# cookies.permanent.signed[:login] = "XJ-122"
|
||||
#
|
||||
# Examples for reading:
|
||||
# Examples of reading:
|
||||
#
|
||||
# cookies[:user_name] # => "david"
|
||||
# cookies.size # => 2
|
||||
|
|
Loading…
Reference in a new issue