0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-09 11:52:54 +01: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') }
end
result = success_json
result = { success: 'OK' }
if current_user && wizard.can_access?
submission = wizard.current_submission