summaryrefslogtreecommitdiffstats
path: root/routers/dashboard.go
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/dashboard.go
parent58147bef20d56fd5cb8bccad08eff53cecaa2681 (diff)
downloadgitea-fbd252c1cf26009e8880c632c8154361db33175e.tar.gz
gitea-fbd252c1cf26009e8880c632c8154361db33175e.zip
Mirror fix
Diffstat (limited to 'routers/dashboard.go')
-rw-r--r--routers/dashboard.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/routers/dashboard.go b/routers/dashboard.go
index ddaef0cb56..d5358f0a00 100644
--- a/routers/dashboard.go
+++ b/routers/dashboard.go
@@ -18,6 +18,7 @@ func Home(ctx *middleware.Context) {
ctx.Render.HTML(200, "home", ctx.Data)
}
-func Help(ctx *middleware.Context) string {
- return "This is help page"
+func Help(ctx *middleware.Context) {
+ ctx.Data["PageIsHelp"] = true
+ ctx.Render.HTML(200, "help", ctx.Data)
}