Sfoglia il codice sorgente

Add custom wizard event trigger

Angus McLeod 7 anni fa
parent
commit
5174d23055
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      plugin.rb

+ 2 - 0
plugin.rb

@@ -135,4 +135,6 @@ after_initialize do
       complete_custom_wizard.present?
     end
   end
+
+  DiscourseEvent.trigger(:custom_wizard_ready)
 end