summaryrefslogtreecommitdiff
path: root/lib/api/builds.rb
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2015-12-24 19:18:01 +0100
committerTomasz Maczukin <tomasz@maczukin.pl>2015-12-24 19:18:01 +0100
commitb5fef34f1e3beb60e7184cfb3420976bfa367137 (patch)
treee567b65a5deb49dc1c5dd1e052a3d34bd3a2e489 /lib/api/builds.rb
parentf4e7a8893d71bcbc92a5ecd16c95593f17d1ddf5 (diff)
downloadgitlab-ce-b5fef34f1e3beb60e7184cfb3420976bfa367137.tar.gz
Fix example request url
Diffstat (limited to 'lib/api/builds.rb')
-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 ce4892b5eeb..0ddb9e98de6 100644
--- a/lib/api/builds.rb
+++ b/lib/api/builds.rb
@@ -12,7 +12,7 @@ module API
# page (optional) - The page number for pagination (default: 1)
# per_page (ooptional) - The value of items per page to show (default 30)
# Example Request:
- # GET /projects/:id/builds/all
+ # GET /projects/:id/builds
get ':id/builds' do
all_builds = user_project.builds
builds = all_builds.order('created_at DESC')