forked from fixin.me/fixin.me
Add sign-out redirection
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user