diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2015-12-28 11:21:01 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-14 12:48:14 +0100 |
commit | 9e0e9342a47022a9caaa4a5596ec3ddb91fddc58 (patch) | |
tree | 89fa81e680af6c6b88658eafe19a804731802e68 /app/models/ci | |
parent | 612ab584bf919a96eaaaf86ef474f8ffe7cbf2b2 (diff) | |
download | gitlab-ce-9e0e9342a47022a9caaa4a5596ec3ddb91fddc58.tar.gz |
Rename method that returns url to CI build artifacts download
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 |