Explorar el Código

Bugfix theme admin

Angus McLeod hace 7 años
padre
commit
e2aa55b4b2
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      lib/template.rb

+ 3 - 1
lib/template.rb

@@ -11,7 +11,8 @@ class CustomWizard::Template
               :after_signup,
               :after_time,
               :after_time_scheduled,
-              :required
+              :required,
+              :theme_key
 
   def initialize(data)
     data = data.is_a?(String) ? ::JSON.parse(data) : data
@@ -27,5 +28,6 @@ class CustomWizard::Template
     @after_time = data['after_time']
     @after_time_scheduled = data['after_time_scheduled']
     @required = data['required'] || false
+    @theme_key = data['theme_key']
   end
 end