Merge branch 'dev' of github.com:gogits/gogs into dev

release/v1.15
Unknown 2014-04-09 21:42:30 -04:00
commit b3f1ae1ba6
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ func compile(options RenderOptions) *template.Template {
tmpl := t.New(filepath.ToSlash(name))
for _, funcs := range options.Funcs {
tmpl.Funcs(funcs)
tmpl = tmpl.Funcs(funcs)
}
template.Must(tmpl.Funcs(helperFuncs).Parse(string(buf)))