Use :secure key in session_options example instead of :session_secure

This commit is contained in:
Cody Fauser
2009-01-15 06:55:15 -05:00
parent 51460808cd
commit b8907d2e6e

View File

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