diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-02 00:07:06 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-02 00:07:06 +0000 |
commit | b26eec8cbcf32085079eee0e196456eccefc993f (patch) | |
tree | 822f69aeec23b0b3512583b2221000a8035241f7 /app/controllers/application_controller.rb | |
parent | 61666f277a484725307ae2b34697b13a300b2129 (diff) | |
download | gitlab-ce-b26eec8cbcf32085079eee0e196456eccefc993f.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r-- | app/controllers/application_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 4de6b5de42a..a0e5fe0203d 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -426,8 +426,8 @@ class ApplicationController < ActionController::Base # accepting the terms. redirect_path = if request.get? request.fullpath - else - URI(request.referer).path if request.referer + elsif request.referer + URI(request.referer).path end flash[:notice] = message |