Grapify last endpoint of the branches API

This commit is contained in:
Robert Schilling 2017-01-24 20:24:59 +01:00
parent 5f410001eb
commit 4f17fc8087

View file

@ -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