diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-18 18:31:54 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-18 18:31:54 -0400 |
commit | fbd252c1cf26009e8880c632c8154361db33175e (patch) | |
tree | 77fcadee5fd627a478ca5022349026196d3669c7 /routers/dashboard.go | |
parent | 58147bef20d56fd5cb8bccad08eff53cecaa2681 (diff) | |
download | gitea-fbd252c1cf26009e8880c632c8154361db33175e.tar.gz gitea-fbd252c1cf26009e8880c632c8154361db33175e.zip |
Mirror fix
Diffstat (limited to 'routers/dashboard.go')
-rw-r--r-- | routers/dashboard.go | 5 |
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) } |