Skip to content

Commit 5824fd9

Browse files
authored
Merge pull request rails#48380 from mdh/add-request-session-documentation
Add missing docs for request.session
2 parents 254f1d8 + 39156c8 commit 5824fd9

File tree

1 file changed

+4
-0
lines changed
  • actionpack/lib/action_controller

1 file changed

+4
-0
lines changed

actionpack/lib/action_controller/metal.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,10 @@ def controller_name
169169
# The ActionDispatch::Response instance for the current response.
170170
attr_internal_reader :response
171171

172+
##
173+
# The ActionDispatch::Request::Session instance for the current request.
174+
# See further details in the
175+
# {Active Controller Session guide}[https://guides.rubyonrails.org/action_controller_overview.html#session].
172176
delegate :session, to: "@_request"
173177

174178
##

0 commit comments

Comments
 (0)