summaryrefslogtreecommitdiffstats
path: root/routers/dashboard.go
diff options
context:
space:
mode:
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)
}