mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 08:07:17 +08:00
Company Name Step which updates the TOS
This commit is contained in:
@ -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' }
|
||||
|
Reference in New Issue
Block a user