summaryrefslogtreecommitdiffstats
path: root/routers/repo/pull.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/pull.go')
-rw-r--r--routers/repo/pull.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/routers/repo/pull.go b/routers/repo/pull.go
index db208f9fbc..d379a54eaa 100644
--- a/routers/repo/pull.go
+++ b/routers/repo/pull.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 (
PULLS base.TplName = "repo/pulls"
)
-func Pulls(ctx *middleware.Context, params martini.Params) {
+func Pulls(ctx *middleware.Context) {
ctx.Data["IsRepoToolbarPulls"] = true
ctx.HTML(200, PULLS)
}