mirror of
https://github.com/astaxie/beego.git
synced 2024-11-26 11:51:29 +00:00
fixed
This commit is contained in:
parent
769735c207
commit
fd677c45aa
@ -112,7 +112,7 @@ func BuildTemplate(dir string) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
for k, v := range self.files {
|
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
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user