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

@ -9,8 +9,8 @@ class StepsController < ApplicationController
def update
wizard = Wizard::Builder.new(current_user).build
updater = wizard.create_updater(params[:id])
updater.update(params[:fields])
updater = wizard.create_updater(params[:id], params[:fields])
updater.update
if updater.success?
result = { success: 'OK' }