summaryrefslogtreecommitdiff
path: root/lib/api/projects.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-08-15 10:25:48 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-08-15 10:25:48 +0300
commit27cf081e1b0b1df1661aaf0ae6b60b05ef3eb8d8 (patch)
treee666cc1b8c925d8685c5128a58b415aea5e7ab81 /lib/api/projects.rb
parent014eff5d8f0081820f3f7a9ac905ab894e101dd7 (diff)
parentcf3ba0209dc7dc8b9ac93d574a8f6296b858be40 (diff)
downloadgitlab-ce-27cf081e1b0b1df1661aaf0ae6b60b05ef3eb8d8.tar.gz
Merge pull request #7479 from Razer6/feature/labels_api
Implement complete labels API (create/delete/update)
Diffstat (limited to 'lib/api/projects.rb')
-rw-r--r--lib/api/projects.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb
index 149678e6803..55f7975bbf7 100644
--- a/lib/api/projects.rb
+++ b/lib/api/projects.rb
@@ -224,17 +224,6 @@ module API
@users = paginate @users
present @users, with: Entities::UserBasic
end
-
- # Get a project labels
- #
- # Parameters:
- # id (required) - The ID of a project
- # Example Request:
- # GET /projects/:id/labels
- get ':id/labels' do
- @labels = user_project.labels
- present @labels, with: Entities::Label
- end
end
end
end