diff options
Diffstat (limited to 'plugin_lua.go')
-rw-r--r-- | plugin_lua.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin_lua.go b/plugin_lua.go index c1a8ebe..a0eecef 100644 --- a/plugin_lua.go +++ b/plugin_lua.go @@ -68,7 +68,7 @@ func (p *luaPlugin) setRoute(l *lua.LState) int { return 0 } -func (p *luaPlugin) Render(name string, data interface{}) error { +func (p *luaPlugin) Inject(name string, data interface{}) error { f, ok := p.renderCallbacks[name] if !ok { return nil |