aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorBruce Park <brucepark0@gmail.com>2015-04-07 01:23:51 +0000
committerBruce Park <brucepark0@gmail.com>2015-04-07 01:23:51 +0000
commit85eacc64a665eb6c93b38c0d840beaae1a60ff96 (patch)
tree626d6394f86a9e3f837f1a44df10dd1bc9e4e878 /actionpack/lib
parent693b333920fc2f5b74f157d46d531cd97b692006 (diff)
downloadrails-85eacc64a665eb6c93b38c0d840beaae1a60ff96.tar.gz
rails-85eacc64a665eb6c93b38c0d840beaae1a60ff96.tar.bz2
rails-85eacc64a665eb6c93b38c0d840beaae1a60ff96.zip
added docs for ActionDispatch::Request::Session#create
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_dispatch/request/session.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/request/session.rb b/actionpack/lib/action_dispatch/request/session.rb
index 973627f106..5b5229d6e1 100644
--- a/actionpack/lib/action_dispatch/request/session.rb
+++ b/actionpack/lib/action_dispatch/request/session.rb
@@ -9,7 +9,9 @@ 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)