mirror of
https://github.com/discourse/discourse.git
synced 2025-09-11 21:04:42 +08:00
Merge pull request #5705 from discourse/new_webhooks
FEATURE: Webhook for group and category events
This commit is contained in:
commit
efb19dbdaf
18 changed files with 214 additions and 13 deletions
|
@ -137,6 +137,7 @@ class GroupsController < ApplicationController
|
|||
|
||||
if group.update_attributes(group_params)
|
||||
GroupActionLogger.new(current_user, group).log_change_group_settings
|
||||
DiscourseEvent.trigger(:group_updated, group)
|
||||
|
||||
render json: success_json
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue