Selaa lähdekoodia

Add custom wizard event trigger

Angus McLeod 7 vuotta sitten
vanhempi
commit
5174d23055
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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