1
0
Fork 0

Bugfix theme admin

Dieser Commit ist enthalten in:
Angus McLeod 2017-12-17 12:04:31 +08:00
Ursprung a4875f2214
Commit e2aa55b4b2

Datei anzeigen

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