0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-09-19 15:21:11 +02:00

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