diff options
Diffstat (limited to 'routers/dev')
-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 91ff6762f0..15ac1c8635 100644 --- a/routers/dev/template.go +++ b/routers/dev/template.go @@ -11,6 +11,7 @@ import ( "code.gitea.io/gitea/modules/setting" ) +// TemplatePreview render for previewing the indicated template func TemplatePreview(ctx *context.Context) { ctx.Data["User"] = models.User{Name: "Unknown"} ctx.Data["AppName"] = setting.AppName |