mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 12:20:54 +00:00
template.go 的urlfor Func注释有误
template.go 的urlfor Func注释有误
This commit is contained in:
parent
b48f251043
commit
5757e6548e
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user