aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorCody Fauser <codyfauser@gmail.com>2009-01-15 06:55:15 -0500
committerCody Fauser <codyfauser@gmail.com>2009-01-15 06:56:08 -0500
commitb8907d2e6ed8e40445a1148077dc49849d751098 (patch)
tree631d503b9b7c36ba68a2915fabde2ecee25813b8 /actionpack
parent51460808cd1f0beaec8d862dc6ee8ca8aad27ed6 (diff)
downloadrails-b8907d2e6ed8e40445a1148077dc49849d751098.tar.gz
rails-b8907d2e6ed8e40445a1148077dc49849d751098.tar.bz2
rails-b8907d2e6ed8e40445a1148077dc49849d751098.zip
Use :secure key in session_options example instead of :session_secure
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/session_management.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/session_management.rb b/actionpack/lib/action_controller/session_management.rb
index f06a0da75c..b556f04649 100644
--- a/actionpack/lib/action_controller/session_management.rb
+++ b/actionpack/lib/action_controller/session_management.rb
@@ -37,7 +37,7 @@ module ActionController #:nodoc:
# Returns the hash used to configure the session. Example use:
#
- # ActionController::Base.session_options[:session_secure] = true # session only available over HTTPS
+ # ActionController::Base.session_options[:secure] = true # session only available over HTTPS
def session_options
@session_options ||= {}
end