mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 21:11:13 +08:00
Merge pull request #5705 from discourse/new_webhooks
FEATURE: Webhook for group and category events
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user