Skip to content
Snippets Groups Projects
Commit 351df5a9 authored by Robert Speicher's avatar Robert Speicher
Browse files

Merge branch 'signout-rel-url' into 'master'

Use sign out path only if not empty

Fixes: https://github.com/gitlabhq/gitlabhq/issues/10066

See merge request !3989
parents d446c9db d6c2d6ba
No related branches found
No related tags found
1 merge request!377CE upstream
......@@ -117,7 +117,7 @@ def after_sign_in_path_for(resource)
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
......
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