1
0
Fork 0

Add add_wizard helper

Dieser Commit ist enthalten in:
Angus McLeod 2017-11-07 15:40:09 +08:00
Ursprung 2f659f4d18
Commit a784d4a33e

Datei anzeigen

@ -136,4 +136,9 @@ class CustomWizard::Wizard
[]
end
end
def self.add_wizard(json)
wizard = ::JSON.parse(json)
PluginStore.set('custom_wizard', wizard["id"], wizard)
end
end