aboutsummaryrefslogtreecommitdiff
path: root/routers/dev/template.go
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-05-01 20:57:11 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-05-01 20:57:11 +0800
commitcc1eb5643e3d28b6e23d3642bdf93670c33fa9c5 (patch)
tree7adfbed18647baf9d3e281b7f23c0dcd0828cc7d /routers/dev/template.go
parent52fbb9788aa80adb56c96389f73c878cc0fe8b42 (diff)
parenta2333d95d594a6aa4e77e78c2efe32991d3cf1ef (diff)
Merge branch 'dev' of https://github.com/gogits/gogs into dev
Diffstat (limited to 'routers/dev/template.go')
-rw-r--r--routers/dev/template.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/dev/template.go b/routers/dev/template.go
index 63d5d9a5..7145bf51 100644
--- a/routers/dev/template.go
+++ b/routers/dev/template.go
@@ -21,5 +21,6 @@ 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.Data["CurDbValue"] = ""
ctx.HTML(200, params["_1"])
}