mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #19677 from treble37/update-docs-ActionDispatch__Request__Session.create-for-pr
added docs for ActionDispatch::Request::Session#create
This commit is contained in:
commit
44cfb2ab8a
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@ module ActionDispatch
|
|||
|
||||
# Singleton object used to determine if an optional param wasn't specified
|
||||
Unspecified = Object.new
|
||||
|
||||
|
||||
# Creates a session hash, merging the properties of the previous session if any
|
||||
def self.create(store, env, default_options)
|
||||
session_was = find env
|
||||
session = Request::Session.new(store, env)
|
||||
|
|
Loading…
Reference in a new issue