From 4f17fc80873853333ca75d73f1fa249410a7135a Mon Sep 17 00:00:00 2001 From: Robert Schilling Date: Tue, 24 Jan 2017 20:24:59 +0100 Subject: Grapify last endpoint of the branches API --- lib/api/branches.rb | 7 +------ 1 file changed, 1 insertion(+), 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 -- cgit v1.2.1