0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-09-19 15:21:11 +02:00

FIX: we're no longer extending the application controller

Dieser Commit ist enthalten in:
Angus McLeod 2022-06-15 08:36:40 +02:00
Ursprung 41cfdfb135
Commit 576d96b2ba

Datei anzeigen

@ -44,7 +44,7 @@ class CustomWizard::WizardController < ::ActionController::Base
return render json: { error: I18n.t('wizard.no_skip') } return render json: { error: I18n.t('wizard.no_skip') }
end end
result = success_json result = { success: 'OK' }
if current_user && wizard.can_access? if current_user && wizard.can_access?
submission = wizard.current_submission submission = wizard.current_submission