aboutsummaryrefslogtreecommitdiff
path: root/routers/dev/template.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/dev/template.go')
-rw-r--r--routers/dev/template.go3
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("*")))
}