mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Use :secure key in session_options example instead of :session_secure
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user