1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-16 14:40:56 +00:00

Merge pull request #1588 from Kavin-Cao/master

template.go 的beegoTplFuncMap注释有误
This commit is contained in:
astaxie 2016-01-20 14:18:35 +08:00
commit 07937dea9a

View File

@ -62,7 +62,7 @@ func init() {
beegoTplFuncMap["lt"] = lt // < beegoTplFuncMap["lt"] = lt // <
beegoTplFuncMap["ne"] = ne // != beegoTplFuncMap["ne"] = ne // !=
beegoTplFuncMap["urlfor"] = URLFor // != beegoTplFuncMap["urlfor"] = URLFor // build a URL to match a Controller and it's method
} }
// AddFuncMap let user to register a func in the template. // AddFuncMap let user to register a func in the template.