summaryrefslogtreecommitdiffstats
path: root/routers/dev/template.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-17 01:54:12 -0400
committerUnknwon <u@gogs.io>2015-09-17 01:54:12 -0400
commit373731f5e85566eb385e92f604e81232e3d6ba1a (patch)
tree83311e464adf24f3006030e27473086e43a11240 /routers/dev/template.go
parente75fd2f783a413ae612e3e6110c912b3ecf9555d (diff)
downloadgitea-373731f5e85566eb385e92f604e81232e3d6ba1a.tar.gz
gitea-373731f5e85566eb385e92f604e81232e3d6ba1a.zip
user gomail and new activate account email tpl
- #1496: fallback plain text - #1002: add date header - #913: fix encoding of header
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 9528c74c64..5548f51478 100644
--- a/routers/dev/template.go
+++ b/routers/dev/template.go
@@ -20,5 +20,6 @@ func TemplatePreview(ctx *middleware.Context) {
ctx.Data["ActiveCodeLives"] = setting.Service.ActiveCodeLives / 60
ctx.Data["ResetPwdCodeLives"] = setting.Service.ResetPwdCodeLives / 60
ctx.Data["CurDbValue"] = ""
+
ctx.HTML(200, base.TplName(ctx.Params("*")))
}