Angus McLeod hace 7 años
padre
commit
dd706315de
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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