Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-09 20:02:54 +01:00
FIX: we're no longer extending the application controller
Dieser Commit ist enthalten in:
Ursprung
41cfdfb135
Commit
576d96b2ba
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -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
|
||||||
|
|
Laden …
In neuem Issue referenzieren