소스 검색

Add dev routes documentation

Gitote 7 년 전
부모
커밋
bd0cb663e2
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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