DEV: DiscourseEvent for category updated (#13707)

DEV: DiscourseEvent for category updated (#13707)

diff --git a/app/controllers/categories_controller.rb b/app/controllers/categories_controller.rb
index 8ba80d6..b60b1a2 100644
--- a/app/controllers/categories_controller.rb
+++ b/app/controllers/categories_controller.rb
@@ -163,6 +163,10 @@ class CategoriesController < ApplicationController
         end
       end
 
+      if result
+        DiscourseEvent.trigger(:category_updated, cat)
+      end
+
       result
     end
   end

GitHub sha: 6a9dc556bcedbdcedafba9787e105b9df04f0cc4

This commit appears in #13707 which was approved by eviltrout. It was merged by markvanlan.