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