diff options
author | ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | 2020-03-16 01:54:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-16 01:54:08 +0800 |
commit | a4de85dc806f6b7e344eb5bf8424ef2bb4815571 (patch) | |
tree | 57d8e290f9ccc8002629c9039efd469b689b649a /internal/route/dev/template.go | |
parent | 9e9ca66467116e9079a2639c00e9e623aca23015 (diff) |
util: add tests (#5989)
Diffstat (limited to 'internal/route/dev/template.go')
-rw-r--r-- | internal/route/dev/template.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/route/dev/template.go b/internal/route/dev/template.go index 42b0ccc2..8f59e923 100644 --- a/internal/route/dev/template.go +++ b/internal/route/dev/template.go @@ -20,5 +20,5 @@ func TemplatePreview(c *context.Context) { c.Data["ResetPwdCodeLives"] = conf.Auth.ResetPasswordCodeLives / 60 c.Data["CurDbValue"] = "" - c.Success( (c.Params("*"))) + c.Success(c.Params("*")) } |