From 8dd07c0ddd99ae626a1ec8c06f75f27fed51269f Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 26 Jul 2014 00:24:27 -0400 Subject: New UI merge in progress --- routers/repo/branch.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'routers/repo/branch.go') diff --git a/routers/repo/branch.go b/routers/repo/branch.go index 9bad7289..c340b2bf 100644 --- a/routers/repo/branch.go +++ b/routers/repo/branch.go @@ -5,8 +5,6 @@ package repo import ( - "github.com/go-martini/martini" - "github.com/gogits/gogs/modules/base" "github.com/gogits/gogs/modules/middleware" ) @@ -15,7 +13,7 @@ const ( BRANCH base.TplName = "repo/branch" ) -func Branches(ctx *middleware.Context, params martini.Params) { +func Branches(ctx *middleware.Context) { ctx.Data["Title"] = "Branches" ctx.Data["IsRepoToolbarBranches"] = true -- cgit v1.2.3