diff options
Diffstat (limited to 'app/models/ci')
-rw-r--r-- | app/models/ci/build.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb index e576f94fd4e..9adbfdd2c92 100644 --- a/app/models/ci/build.rb +++ b/app/models/ci/build.rb @@ -319,7 +319,7 @@ module Ci pending? && !any_runners_online? end - def download_url + def artifacts_download_url if artifacts_file.exists? download_namespace_project_build_artifacts_path(project.namespace, project, self) end |