mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36: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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if result
|
||||||
|
DiscourseEvent.trigger(:category_updated, cat)
|
||||||
|
end
|
||||||
|
|
||||||
result
|
result
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user