summaryrefslogtreecommitdiff
path: root/lib/api/branches.rb
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2017-01-24 20:24:59 +0100
committerRobert Schilling <rschilling@student.tugraz.at>2017-01-24 20:24:59 +0100
commit4f17fc80873853333ca75d73f1fa249410a7135a (patch)
treed6ed0526de8b11e4d207332b1056fd2b4f3bd5f0 /lib/api/branches.rb
parent5f410001eb718e23835d933e66f4973bfd2b0a10 (diff)
downloadgitlab-ce-4f17fc80873853333ca75d73f1fa249410a7135a.tar.gz
Grapify last endpoint of the branches APIgrapify-branch-api
Diffstat (limited to 'lib/api/branches.rb')
-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