Ver código fonte

Add dev routes documentation

Gitote 7 anos atrás
pai
commit
bd0cb663e2
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      routes/dev/template.go

+ 1 - 0
routes/dev/template.go

@@ -6,6 +6,7 @@ import (
 	"gitote/gitote/pkg/setting"
 )
 
+//TemplatePreview pre render the template to preview it
 func TemplatePreview(c *context.Context) {
 	c.Data["User"] = models.User{Name: "Yoginth"}
 	c.Data["AppVer"] = setting.AppVer