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
|
||||
|
||||
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
|
||||
|
||||
def wizard_page_title
|
||||
|
|
Laden …
In neuem Issue referenzieren