Commit 747807fa authored by Robert Speicher's avatar Robert Speicher

Merge remote-tracking branch 'ce/8-2-stable' into ce-stable-to-ee-stable

parents 37fc82ac 9535d91e
......@@ -52,7 +52,6 @@ class Groups::GroupMembersController < Groups::ApplicationController
return render_403 unless can?(current_user, :destroy_group_member, @group_member)
@group_member.destroy
log_audit_event(@group_member, action: :destroy)
respond_to do |format|
......@@ -80,7 +79,6 @@ class Groups::GroupMembersController < Groups::ApplicationController
if can?(current_user, :destroy_group_member, @group_member)
@group_member.destroy
log_audit_event(@group_member, action: :destroy)
redirect_to(dashboard_groups_path, notice: "You left #{group.name} group.")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment