diff options
Diffstat (limited to 'app/controllers/groups/group_links_controller.rb')
-rw-r--r-- | app/controllers/groups/group_links_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/groups/group_links_controller.rb b/app/controllers/groups/group_links_controller.rb index 52ee69edaa5..c395b93f4e7 100644 --- a/app/controllers/groups/group_links_controller.rb +++ b/app/controllers/groups/group_links_controller.rb @@ -27,7 +27,7 @@ class Groups::GroupLinksController < Groups::ApplicationController end def destroy - Groups::GroupLinks::DestroyService.new(nil, nil).execute(@group_link) + Groups::GroupLinks::DestroyService.new(group, current_user).execute(@group_link) respond_to do |format| format.html do |