1
0
Fork 0

Update wizard.rb

Dieser Commit ist enthalten in:
Angus McLeod 2020-04-03 10:06:13 +11:00
Ursprung a6cb3ddd05
Commit 335e69e53b

Datei anzeigen

@ -162,7 +162,7 @@ class CustomWizard::Wizard
result = false result = false
records records
.sort_by { |record| record.value['permitted'].present? } .sort_by { |record| record.value['permitted'].present? ? 0 : 1 }
.each do |record| .each do |record|
wizard = CustomWizard::Wizard.new(user, JSON.parse(record.value)) wizard = CustomWizard::Wizard.new(user, JSON.parse(record.value))