1
0
Fork 0
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:
schneems 2015-04-07 14:58:44 -05:00
commit 44cfb2ab8a

View file

@ -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)