mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 23:31:18 +08:00
DEV: DiscourseEvent for category updated (#13707)
This commit is contained in:

committed by
GitHub

parent
d87a0216bb
commit
6a9dc556bc
@ -163,6 +163,10 @@ class CategoriesController < ApplicationController
|
||||
end
|
||||
end
|
||||
|
||||
if result
|
||||
DiscourseEvent.trigger(:category_updated, cat)
|
||||
end
|
||||
|
||||
result
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user