Skip to content

Commit

Permalink
Fix link to ActionController::Cookies#cookies
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
p8 committed Jun 2, 2023
1 parent 61accb7 commit f492d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_dispatch/middleware/cookies.rb
Expand Up @@ -92,7 +92,7 @@ def use_cookies_with_metadata
include RequestCookieMethods
end

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

0 comments on commit f492d51

Please sign in to comment.