From 098fa943565e06dafa67ca59ccf433939d2941b4 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 7 Feb 2005 14:15:53 +0000 Subject: Fixed documentation snafus #575, #576, #577, #585 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/cookies.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_controller/cookies.rb') diff --git a/actionpack/lib/action_controller/cookies.rb b/actionpack/lib/action_controller/cookies.rb index 0a45684f6b..b82aa5ee08 100644 --- a/actionpack/lib/action_controller/cookies.rb +++ b/actionpack/lib/action_controller/cookies.rb @@ -1,7 +1,7 @@ module ActionController #:nodoc: # Cookies are read and written through ActionController#cookies. The cookies being read is what was received along with the request, # the cookies being written is what will be sent out will the response. Cookies are read by value (so you won't get the cookie object - # itself back -- just the value it holds). Examples for writting: + # itself back -- just the value it holds). Examples for writing: # # cookies["user_name"] = "david" # => Will set a simple session cookie # cookies["login"] = { :value => "XJ-122", :expires => Time.now + 360} # => Will set a cookie that expires in 1 hour -- cgit v1.2.3