summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-08-26 14:39:41 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-08-26 14:39:41 +0000
commit93fd80667dcfbacca2b41168da6fcb3f67c0899b (patch)
tree17d0bd9c303b7a0dbed87811e438d10fee49991f /app
parentf332982c82ad95ae2ee22242c39f78717613165f (diff)
downloadgitlab-ce-93fd80667dcfbacca2b41168da6fcb3f67c0899b.tar.gz
Add latest changes from gitlab-org/security/gitlab@15-3-stable-ee
Diffstat (limited to 'app')
-rw-r--r--app/models/integrations/zentao.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/integrations/zentao.rb b/app/models/integrations/zentao.rb
index 53194089296..459756c865b 100644
--- a/app/models/integrations/zentao.rb
+++ b/app/models/integrations/zentao.rb
@@ -69,6 +69,10 @@ module Integrations
}
end
+ def client_url
+ api_url.presence || url
+ end
+
def self.to_param
name.demodulize.downcase
end