DEV: DiscourseEvent for category updated (#13707)

This commit is contained in:
Mark VanLandingham 2021-07-12 14:23:07 -05:00 committed by GitHub
parent d87a0216bb
commit 6a9dc556bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,6 +163,10 @@ class CategoriesController < ApplicationController
end
end
if result
DiscourseEvent.trigger(:category_updated, cat)
end
result
end
end