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.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/routers/repo/pull.go b/routers/repo/pull.go
index 430c6a815f..db208f9fbc 100644
--- a/routers/repo/pull.go
+++ b/routers/repo/pull.go
@@ -7,10 +7,15 @@ package repo
import (
"github.com/go-martini/martini"
+ "github.com/gogits/gogs/modules/base"
"github.com/gogits/gogs/modules/middleware"
)
+const (
+ PULLS base.TplName = "repo/pulls"
+)
+
func Pulls(ctx *middleware.Context, params martini.Params) {
ctx.Data["IsRepoToolbarPulls"] = true
- ctx.HTML(200, "repo/pulls")
+ ctx.HTML(200, PULLS)
}