diff options
Diffstat (limited to 'tpl/lang/init.go')
-rw-r--r-- | tpl/lang/init.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/lang/init.go b/tpl/lang/init.go index ea67afab0..d0efa6997 100644 --- a/tpl/lang/init.go +++ b/tpl/lang/init.go @@ -26,7 +26,7 @@ func init() { ns := &internal.TemplateFuncsNamespace{ Name: name, - Context: func() interface{} { return ctx }, + Context: func(args ...interface{}) interface{} { return ctx }, } ns.AddMethodMapping(ctx.Translate, |