Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-03-31 18:08:50 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-03-31 18:08:50 +0300
commitccab6fb4df8bc12220334618e56d911c4d0e447c (patch)
treea8c7bb66fb4c36c97e7e1b4f27744fcd93c3bcf3 /lib/gitlab/gon_helper.rb
parent820c5f6d5c816ba4b742f2ae2e08cc548314531a (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/gon_helper.rb')
-rw-r--r--lib/gitlab/gon_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/gon_helper.rb b/lib/gitlab/gon_helper.rb
index cdb3c1685f9..af3d13d0c79 100644
--- a/lib/gitlab/gon_helper.rb
+++ b/lib/gitlab/gon_helper.rb
@@ -49,6 +49,7 @@ module Gitlab
gon.ee = Gitlab.ee?
gon.jh = Gitlab.jh?
gon.dot_com = Gitlab.com?
+ gon.uf_error_prefix = ::Gitlab::Utils::ErrorMessage::UF_ERROR_PREFIX
if current_user
gon.current_user_id = current_user.id