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

tokarchuk/v1.17
Unknown 11 years ago
commit b3f1ae1ba6
  1. 2
      modules/middleware/render.go

@ -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)))

Loading…
Cancel
Save