lib/kumogata/client.rb in kumogata-0.4.2 vs lib/kumogata/client.rb in kumogata-0.4.3
- old
+ new
@@ -146,10 +146,10 @@
template = Dslh.eval(template.read, {
:key_conv => key_converter,
:value_conv => value_converter,
:scope_hook => proc {|scope|
- define_template_func(scope, template.path)
+ define_template_func(scope, path_or_url)
},
:filename => path_or_url,
})
@post_processing.fetch!(template)