add logout route
This commit is contained in:
parent
e73318e3bb
commit
063445b892
4 changed files with 8 additions and 0 deletions
|
@ -95,4 +95,9 @@ class Users::SessionsController < Devise::SessionsController
|
|||
redirect_to link_sent_path(email: instructeur.email)
|
||||
end
|
||||
end
|
||||
|
||||
# agent connect callback
|
||||
def logout
|
||||
redirect_to root_path, notice: I18n.t('devise.sessions.signed_out')
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue