summaryrefslogtreecommitdiffstats
path: root/routers/repo/branch.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/branch.go')
-rw-r--r--routers/repo/branch.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/routers/repo/branch.go b/routers/repo/branch.go
index 9bad7289b9..c340b2bf6b 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