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/api
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2017-01-24 22:24:59 +0300
committerRobert Schilling <rschilling@student.tugraz.at>2017-01-24 22:24:59 +0300
commit4f17fc80873853333ca75d73f1fa249410a7135a (patch)
treed6ed0526de8b11e4d207332b1056fd2b4f3bd5f0 /lib/api
parent5f410001eb718e23835d933e66f4973bfd2b0a10 (diff)
Grapify last endpoint of the branches API
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/branches.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/api/branches.rb b/lib/api/branches.rb
index 0950c3d2e88..be659fa4a6a 100644
--- a/lib/api/branches.rb
+++ b/lib/api/branches.rb
@@ -129,12 +129,7 @@ module API
end
end
- # Delete all merged branches
- #
- # Parameters:
- # id (required) - The ID of a project
- # Example Request:
- # DELETE /projects/:id/repository/branches/delete_merged
+ desc 'Delete all merged branches'
delete ":id/repository/merged_branches" do
DeleteMergedBranchesService.new(user_project, current_user).async_execute