mirror of
https://github.com/astaxie/beego.git
synced 2024-12-22 19:20:48 +00:00
fixed
This commit is contained in:
parent
769735c207
commit
fd677c45aa
@ -112,7 +112,7 @@ func BuildTemplate(dir string) error {
|
||||
return err
|
||||
}
|
||||
for k, v := range self.files {
|
||||
BeeTemplates[k] = template.Must(template.New("beegoTemplate"+k).Funcs(beegoTplFuncMap).ParseFiles(v...)).Delims(TemplateLeft, TemplateRight)
|
||||
BeeTemplates[k] = template.Must(template.New("beegoTemplate"+k).Delims(TemplateLeft, TemplateRight).Funcs(beegoTplFuncMap).ParseFiles(v...))
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user