Skip to content
Snippets Groups Projects
Commit d6c2d6ba authored by Artem Sidorenko's avatar Artem Sidorenko
Browse files

Use sign out path only if not empty

parent f0c4f727
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -117,7 +117,7 @@ class ApplicationController < ActionController::Base
end
 
def after_sign_out_path_for(resource)
current_application_settings.after_sign_out_path || new_user_session_path
current_application_settings.after_sign_out_path.presence || new_user_session_path
end
 
def abilities
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment