FEATURE: Webhook for group and category events

This commit is contained in:
Vinoth Kannan
2018-03-27 11:53:35 +05:30
parent 9d6d8631ad
commit e7407d0adc
13 changed files with 151 additions and 10 deletions

View File

@ -122,6 +122,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