1
0
Fork 0

FIX: clicking Maybe Later was causing 500 error (#105)

Dieser Commit ist enthalten in:
Faizaan Gagan 2021-04-30 21:56:00 +05:30 committet von GitHub
Ursprung f05d859007
Commit 848874ea1f
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -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