Skip to content

Commit f492d51

Browse files
committed
Fix link to ActionController::Cookies#cookies
The `cookies` method was not defined on ActionController::Base making the permalink to the method not work. Changing it to ActionController::Cookies make the reference a link.
1 parent 61accb7 commit f492d51

File tree

1 file changed

+1
-1
lines changed
  • actionpack/lib/action_dispatch/middleware

1 file changed

+1
-1
lines changed

actionpack/lib/action_dispatch/middleware/cookies.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def use_cookies_with_metadata
9292
include RequestCookieMethods
9393
end
9494

95-
# Read and write data to cookies through ActionController::Base#cookies.
95+
# Read and write data to cookies through ActionController::Cookies#cookies.
9696
#
9797
# When reading cookie data, the data is read from the HTTP request header, Cookie.
9898
# When writing cookie data, the data is sent out in the HTTP response header, +Set-Cookie+.

0 commit comments

Comments
 (0)