From 8274884505c1dfd26a294df07a619e8a224cdef6 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Mon, 30 Nov 2020 11:05:52 +1100 Subject: [PATCH] Remove step_template from field validator arguments --- lib/custom_wizard/validators/update.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/custom_wizard/validators/update.rb b/lib/custom_wizard/validators/update.rb index b3e8ba86..0229f676 100644 --- a/lib/custom_wizard/validators/update.rb +++ b/lib/custom_wizard/validators/update.rb @@ -54,7 +54,7 @@ class ::CustomWizard::UpdateValidator self.class.field_validators.each do |validator| if type === validator[:type] - validator[:block].call(field, value, @updater, @step_template) + validator[:block].call(field, value, @updater) end end end