summaryrefslogtreecommitdiffstats
path: root/routers/dev
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/dev
parent5cb2d3d2e233def07d6956af47dfc49acc45c7e6 (diff)
downloadgitea-9f9cd6bfc61d82ee0a3d31cee112be7975b8ca86.tar.gz
gitea-9f9cd6bfc61d82ee0a3d31cee112be7975b8ca86.zip
Work on admin
Diffstat (limited to 'routers/dev')
-rw-r--r--routers/dev/template.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/dev/template.go b/routers/dev/template.go
index 7d5225ece7..d2f77ac4d5 100644
--- a/routers/dev/template.go
+++ b/routers/dev/template.go
@@ -21,5 +21,5 @@ func TemplatePreview(ctx *middleware.Context, params martini.Params) {
ctx.Data["Code"] = "2014031910370000009fff6782aadb2162b4a997acb69d4400888e0b9274657374"
ctx.Data["ActiveCodeLives"] = base.Service.ActiveCodeLives / 60
ctx.Data["ResetPwdCodeLives"] = base.Service.ResetPwdCodeLives / 60
- ctx.HTML(200, params["_1"], ctx.Data)
+ ctx.HTML(200, params["_1"])
}