1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-26 03:11:30 +00:00

template.go 的urlfor Func注释有误

template.go 的urlfor Func注释有误
This commit is contained in:
bradycao 2016-01-19 10:14:16 +08:00
parent b48f251043
commit 5757e6548e

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.