Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 17:30:29 +01:00
FIX: clicking Maybe Later was causing 500 error (#105)
Dieser Commit ist enthalten in:
Ursprung
f05d859007
Commit
848874ea1f
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
|
@ -11,7 +11,9 @@ class CustomWizard::WizardController < ::ApplicationController
|
||||||
helper_method :wizard_theme_translations_lookup
|
helper_method :wizard_theme_translations_lookup
|
||||||
|
|
||||||
def wizard
|
def wizard
|
||||||
CustomWizard::Wizard.create(params[:wizard_id].underscore, current_user)
|
@builder = CustomWizard::Builder.new(params[:wizard_id].underscore, current_user)
|
||||||
|
@wizard ||= @builder.build
|
||||||
|
@wizard
|
||||||
end
|
end
|
||||||
|
|
||||||
def wizard_page_title
|
def wizard_page_title
|
||||||
|
|
Laden …
In neuem Issue referenzieren