2
0
Fork 0
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:
Vinoth Kannan 2018-04-02 10:53:21 +05:30 committed by GitHub
commit efb19dbdaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 214 additions and 13 deletions

View file

@ -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