Add sign-out redirection

This commit is contained in:
cryptogopher 2023-04-15 23:52:40 +02:00
parent 6d71d38680
commit 83335871b4

View File

@ -1,3 +1,9 @@
class ApplicationController < ActionController::Base
before_action :authenticate_user!
protected
def after_sign_out_path_for(scope)
new_user_session_path
end
end