From dd706315de4069b2ada59a233327e7bfb0dbedca Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Tue, 19 Dec 2017 17:50:40 +0800 Subject: [PATCH] bugfix --- controllers/wizard.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/wizard.rb b/controllers/wizard.rb index f236d772..11e7ce4d 100644 --- a/controllers/wizard.rb +++ b/controllers/wizard.rb @@ -15,7 +15,7 @@ class CustomWizard::WizardController < ::ApplicationController end def theme_key - wizard['theme_key'] + wizard ? wizard['theme_key'] : nil end def index