summaryrefslogtreecommitdiffstats
path: root/routers/dashboard.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-20 07:50:26 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-20 07:50:26 -0400
commit9f9cd6bfc61d82ee0a3d31cee112be7975b8ca86 (patch)
tree1f50bb78b49e133425bc920ecfc9e25fe613823e /routers/dashboard.go
parent5cb2d3d2e233def07d6956af47dfc49acc45c7e6 (diff)
downloadgitea-9f9cd6bfc61d82ee0a3d31cee112be7975b8ca86.tar.gz
gitea-9f9cd6bfc61d82ee0a3d31cee112be7975b8ca86.zip
Work on admin
Diffstat (limited to 'routers/dashboard.go')
-rw-r--r--routers/dashboard.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/dashboard.go b/routers/dashboard.go
index 6c194ad9e5..f61d67b7de 100644
--- a/routers/dashboard.go
+++ b/routers/dashboard.go
@@ -15,10 +15,10 @@ func Home(ctx *middleware.Context) {
return
}
ctx.Data["PageIsHome"] = true
- ctx.HTML(200, "home", ctx.Data)
+ ctx.HTML(200, "home")
}
func Help(ctx *middleware.Context) {
ctx.Data["PageIsHelp"] = true
- ctx.HTML(200, "help", ctx.Data)
+ ctx.HTML(200, "help")
}