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
diff options
context:
space:
mode:
authorDan Tudor <dtudor01@gmail.com>2015-03-31 19:08:33 +0300
committerDan Tudor <dtudor01@gmail.com>2015-03-31 19:08:33 +0300
commita6c633567173e4675f37ec19d31094bf6c50ed3c (patch)
tree8404fccf40950878d80b4c7cdc7ec4ebe294f845 /lib/api/branches.rb
parent00dd44455a499050cd225990ed3fb9954f333b4d (diff)
Added the missing comma
Diffstat (limited to 'lib/api/branches.rb')
-rw-r--r--lib/api/branches.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/branches.rb b/lib/api/branches.rb
index 431d52a98ea..592100a7045 100644
--- a/lib/api/branches.rb
+++ b/lib/api/branches.rb
@@ -100,7 +100,7 @@ module API
# branch (required) - The name of the branch
# Example Request:
# DELETE /projects/:id/repository/branches/:branch
- delete ":id/repository/branches/:branch"
+ delete ":id/repository/branches/:branch",
requirements: { branch: /.*/ } do
authorize_push_project
result = DeleteBranchService.new(user_project, current_user).