aboutsummaryrefslogtreecommitdiff
path: root/routers/repo
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-18 18:31:54 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-18 18:31:54 -0400
commitfbd252c1cf26009e8880c632c8154361db33175e (patch)
tree77fcadee5fd627a478ca5022349026196d3669c7 /routers/repo
parent58147bef20d56fd5cb8bccad08eff53cecaa2681 (diff)
Mirror fix
Diffstat (limited to 'routers/repo')
-rw-r--r--routers/repo/single.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/routers/repo/single.go b/routers/repo/single.go
index 0cc41b1c..d64248d9 100644
--- a/routers/repo/single.go
+++ b/routers/repo/single.go
@@ -182,10 +182,12 @@ func Commits(ctx *middleware.Context, params martini.Params) {
ctx.Render.HTML(200, "repo/commits", ctx.Data)
}
-func Issues(ctx *middleware.Context) string {
- return "This is issues page"
+func Issues(ctx *middleware.Context) {
+ ctx.Data["IsRepoToolbarIssues"] = true
+ ctx.Render.HTML(200, "repo/issues", ctx.Data)
}
-func Pulls(ctx *middleware.Context) string {
- return "This is pulls page"
+func Pulls(ctx *middleware.Context) {
+ ctx.Data["IsRepoToolbarPulls"] = true
+ ctx.Render.HTML(200, "repo/pulls", ctx.Data)
}