diff options
author | Unknwon <u@gogs.io> | 2017-04-05 09:17:21 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-04-05 09:17:21 -0400 |
commit | edaf14f2b6fd86f8dec99f67512a5c0095e391dc (patch) | |
tree | ec81011348a0c8df3995c36b46e2646472106800 /routers/dev | |
parent | 6fbb984ebf4f0d6804f0f83e6edb12ef0bb9a570 (diff) |
Refactoring: remove tool.TplName
Diffstat (limited to 'routers/dev')
-rw-r--r-- | routers/dev/template.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/routers/dev/template.go b/routers/dev/template.go index bc2bb8d2..89cdd10d 100644 --- a/routers/dev/template.go +++ b/routers/dev/template.go @@ -6,7 +6,6 @@ package dev import ( "github.com/gogits/gogs/models" - "github.com/gogits/gogs/pkg/tool" "github.com/gogits/gogs/pkg/context" "github.com/gogits/gogs/pkg/setting" ) @@ -21,5 +20,5 @@ func TemplatePreview(ctx *context.Context) { ctx.Data["ResetPwdCodeLives"] = setting.Service.ResetPwdCodeLives / 60 ctx.Data["CurDbValue"] = "" - ctx.HTML(200, tool.TplName(ctx.Params("*"))) + ctx.HTML(200, (ctx.Params("*"))) } |