summaryrefslogtreecommitdiffstats
path: root/tpl/collections/apply.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/collections/apply.go')
-rw-r--r--tpl/collections/apply.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/collections/apply.go b/tpl/collections/apply.go
index d41a3b1da..55d29d3a9 100644
--- a/tpl/collections/apply.go
+++ b/tpl/collections/apply.go
@@ -106,7 +106,7 @@ func applyFnToThis(fn, this reflect.Value, args ...interface{}) (reflect.Value,
func (ns *Namespace) lookupFunc(fname string) (reflect.Value, bool) {
if !strings.ContainsRune(fname, '.') {
- templ := ns.deps.Tmpl.(tpl.TemplateFuncGetter)
+ templ := ns.deps.Tmpl().(tpl.TemplateFuncGetter)
return templ.GetFunc(fname)
}