Skip to content

Commit 0da0fc8

Browse files
committed
Add missing docs for request.session
1 parent 254f1d8 commit 0da0fc8

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

actionpack/lib/action_controller/metal.rb

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

172+
##
173+
# Delegates to ActionDispatch::Request#session.
172174
delegate :session, to: "@_request"
173175

174176
##

0 commit comments

Comments
 (0)