Company Name Step which updates the TOS

This commit is contained in:
Robin Ward
2016-09-12 14:43:00 -04:00
parent 28b6c300a0
commit 35b767f6af
8 changed files with 160 additions and 61 deletions

View File

@ -33,9 +33,9 @@ class Wizard
end
end
def create_updater(step_id)
def create_updater(step_id, fields)
step = @steps.find {|s| s.id == step_id.dasherize}
Wizard::StepUpdater.new(@user, step)
Wizard::StepUpdater.new(@user, step, fields)
end
end