Skip to content

Commit

Permalink
Use :secure key in session_options example instead of :session_secure
Browse files Browse the repository at this point in the history
  • Loading branch information
Cody Fauser committed Jan 15, 2009
1 parent 5146080 commit b8907d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/session_management.rb
Expand Up @@ -37,7 +37,7 @@ def session=(options = {})


# Returns the hash used to configure the session. Example use: # 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 def session_options
@session_options ||= {} @session_options ||= {}
end end
Expand Down

0 comments on commit b8907d2

Please sign in to comment.