From edaf14f2b6fd86f8dec99f67512a5c0095e391dc Mon Sep 17 00:00:00 2001 From: Unknwon Date: Wed, 5 Apr 2017 09:17:21 -0400 Subject: Refactoring: remove tool.TplName --- routers/dev/template.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'routers/dev/template.go') 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("*"))) } -- cgit v1.2.3