diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2017-01-24 22:24:59 +0300 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2017-01-24 22:24:59 +0300 |
commit | 4f17fc80873853333ca75d73f1fa249410a7135a (patch) | |
tree | d6ed0526de8b11e4d207332b1056fd2b4f3bd5f0 /lib | |
parent | 5f410001eb718e23835d933e66f4973bfd2b0a10 (diff) |
Grapify last endpoint of the branches API
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/branches.rb | 7 |
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 |