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
path: root/lib
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-07-21 14:26:58 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-07-21 14:26:58 +0300
commit0b67945c99fde0d2c1ac6287f826001ef4c5d03b (patch)
treeb2de1ca873c09fe4dd9a1621d78140bb3a0680b2 /lib
parent880a40e7e94eb7a3c1e31eda9b6bd9f68b0a4068 (diff)
Also fix the URL in the comment
Diffstat (limited to 'lib')
-rw-r--r--lib/api/builds.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/builds.rb b/lib/api/builds.rb
index 657d421fe97..be5a3484ec8 100644
--- a/lib/api/builds.rb
+++ b/lib/api/builds.rb
@@ -80,7 +80,7 @@ module API
# ref_name (required) - The ref from repository
# job (required) - The name for the build
# Example Request:
- # GET /projects/:id/artifacts/:ref_name/download?job=name
+ # GET /projects/:id/builds/artifacts/:ref_name/download?job=name
get ':id/builds/artifacts/:ref_name/download',
requirements: { ref_name: /.+/ } do
authorize_read_builds!