index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
routers
/
dev
/
template.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'routers/dev/template.go')
-rw-r--r--
routers/dev/template.go
1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/dev/template.go b/routers/dev/template.go
index 9528c74c..5548f514 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("*")))
}