1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 19:00:54 +00:00

Update template.go

Adding assets_js, assets_css template functions
This commit is contained in:
odiel 2013-12-06 10:36:56 -05:00
parent 0bdd400fe7
commit 1611476288

View File

@ -34,6 +34,8 @@ func init() {
beegoTplFuncMap["htmlquote"] = Htmlquote beegoTplFuncMap["htmlquote"] = Htmlquote
beegoTplFuncMap["htmlunquote"] = Htmlunquote beegoTplFuncMap["htmlunquote"] = Htmlunquote
beegoTplFuncMap["renderform"] = RenderForm beegoTplFuncMap["renderform"] = RenderForm
beegoTplFuncMap["assets_js"] = AssetsJs
beegoTplFuncMap["assets_css"] = AssetsCss
// go1.2 added template funcs // go1.2 added template funcs
// Comparisons // Comparisons