1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

Renew devise:install due to sign_out_everybody => sign_out_all_scopes

This commit is contained in:
Maxim Filatov 2010-06-24 22:02:31 +08:00 committed by José Valim
parent 2475faf9c7
commit 503d27f2e1

View file

@ -113,10 +113,8 @@ Devise.setup do |config|
# Configure sign_out behavior. # Configure sign_out behavior.
# By default sign_out is scoped (i.e. /users/sign_out affects only :user scope). # By default sign_out is scoped (i.e. /users/sign_out affects only :user scope).
# In case of sign_out_scoped set to false any logout action will sign out all active scopes. # In case of sign_out_all_scopes set to true any logout action will sign out all active scopes.
# Routes for sign_out links and redirects are same for both cases. # config.sign_out_all_scopes = false
# You can use generic override way to reassign them (same as sign_out_path_for).
# config.sign_out_scoped = true
# ==> Navigation configuration # ==> Navigation configuration
# Lists the formats that should be treated as navigational. Formats like # Lists the formats that should be treated as navigational. Formats like