mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Added config.sign_out_scoped to devise:install
This commit is contained in:
parent
12ae21117c
commit
f864259f1e
1 changed files with 7 additions and 0 deletions
|
@ -111,6 +111,13 @@ Devise.setup do |config|
|
|||
# role declared in your routes.
|
||||
# config.default_scope = :user
|
||||
|
||||
# Configure sign_out behavior.
|
||||
# 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.
|
||||
# Routes for sign_out links and redirects are same for both cases.
|
||||
# You can use generic override way to reassign them (same as sign_out_path_for).
|
||||
# config.sign_out_scoped = true
|
||||
|
||||
# ==> Navigation configuration
|
||||
# Lists the formats that should be treated as navigational. Formats like
|
||||
# :html, should redirect to the sign in page when the user does not have
|
||||
|
|
Loading…
Reference in a new issue