lib/locomotive/plugin/liquid.rb in locomotive_plugins-1.0.0.beta5 vs lib/locomotive/plugin/liquid.rb in locomotive_plugins-1.0.0.beta6
- old
+ new
@@ -42,11 +42,11 @@
# Add the prefixed methods to the module
raw_filter_modules = [self.liquid_filters].flatten.compact
raw_filter_modules.each do |mod|
mod.public_instance_methods.each do |meth|
@prefixed_liquid_filter_module.module_eval do
- define_method(:"#{prefix}_#{meth}") do |input|
- self._passthrough_filter_call(prefix, meth, input)
+ define_method(:"#{prefix}_#{meth}") do |*args|
+ self._passthrough_filter_call(prefix, meth, *args)
end
end
end
end