mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
DEV: DiscourseEvent for category updated (#13707)
This commit is contained in:
parent
d87a0216bb
commit
6a9dc556bc
@ -163,6 +163,10 @@ class CategoriesController < ApplicationController
|
||||
end
|
||||
end
|
||||
|
||||
if result
|
||||
DiscourseEvent.trigger(:category_updated, cat)
|
||||
end
|
||||
|
||||
result
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user