Angus McLeod 7 éve
szülő
commit
dd706315de
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      controllers/wizard.rb

+ 1 - 1
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