mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Document ActionController::Cookies#cookies [ci-skip]
There are several `cookies` methods that appear when searching the API documentation, but none of them are the method commonly used in controllers. This makes Action Controller's `cookies` method appear in the search results, and makes the accompanying `ActionDispatch::Cookies` documentation more discoverable.
This commit is contained in:
parent
bcb63fcaa8
commit
2e53730d62
1 changed files with 3 additions and 1 deletions
|
@ -9,7 +9,9 @@ module ActionController #:nodoc:
|
|||
end
|
||||
|
||||
private
|
||||
def cookies
|
||||
# The cookies for the current request. See ActionDispatch::Cookies for
|
||||
# more information.
|
||||
def cookies # :doc:
|
||||
request.cookie_jar
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue