From 2fa8d0c8dd43f95e1659a266e84c7713cc8f2fcf Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 25 Mar 2014 12:12:27 -0400 Subject: Added create issue --- routers/repo/branch.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'routers/repo/branch.go') diff --git a/routers/repo/branch.go b/routers/repo/branch.go index 8c953f2e..aed77cfa 100644 --- a/routers/repo/branch.go +++ b/routers/repo/branch.go @@ -26,11 +26,6 @@ func Branches(ctx *middleware.Context, params martini.Params) { ctx.Data["Username"] = params["username"] ctx.Data["Reponame"] = params["reponame"] - - if len(params["branchname"]) == 0 { - params["branchname"] = "master" - } - ctx.Data["Branchname"] = params["branchname"] ctx.Data["Branches"] = brs ctx.Data["IsRepoToolbarBranches"] = true -- cgit v1.2.3