aboutsummaryrefslogtreecommitdiff
path: root/routers/repo/branch.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/branch.go')
-rw-r--r--routers/repo/branch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/branch.go b/routers/repo/branch.go
index 97bfbc26..7bc75977 100644
--- a/routers/repo/branch.go
+++ b/routers/repo/branch.go
@@ -34,7 +34,7 @@ func Branches(ctx *context.Context) {
}
func DeleteBranchPost(ctx *context.Context) {
- branchName := ctx.Params(":name")
+ branchName := ctx.Params("*")
commitID := ctx.Query("commit")
defer func() {