diff options
Diffstat (limited to 'app/models/ci/build.rb')
-rw-r--r-- | app/models/ci/build.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb index 7e21eb22e27..d2a53315f1d 100644 --- a/app/models/ci/build.rb +++ b/app/models/ci/build.rb @@ -233,9 +233,7 @@ module Ci gl_project_id end - def project_name - project.name - end + delegate :name, to: :project, prefix: true def repo_url auth = "gitlab-ci-token:#{ensure_token!}@" |