summaryrefslogtreecommitdiff
path: root/app/controllers/concerns
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-08-16 11:25:26 +0000
committerRémy Coutable <remy@rymai.me>2017-08-16 11:25:26 +0000
commitfcce6c3168dbd04404f318b4e983d7395d21538c (patch)
treed8155d729f0915f6117bbe1f4010fffec9d37e56 /app/controllers/concerns
parent9ac2a517798af2f942b28138403690afc20a254c (diff)
parent260c8da060a6039cbd47cfe31c8ec6d6f9b43de0 (diff)
downloadgitlab-ce-fcce6c3168dbd04404f318b4e983d7395d21538c.tar.gz
Merge branch 'rs-more-public-send-whitelists' into 'master'
Whitelist or fix additional `Gitlab/PublicSend` cop violations See merge request !13467
Diffstat (limited to 'app/controllers/concerns')
-rw-r--r--app/controllers/concerns/issuable_actions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/concerns/issuable_actions.rb b/app/controllers/concerns/issuable_actions.rb
index 0c3b68a7ac3..4079072a930 100644
--- a/app/controllers/concerns/issuable_actions.rb
+++ b/app/controllers/concerns/issuable_actions.rb
@@ -10,7 +10,7 @@ module IssuableActions
def destroy
issuable.destroy
destroy_method = "destroy_#{issuable.class.name.underscore}".to_sym
- TodoService.new.public_send(destroy_method, issuable, current_user)
+ TodoService.new.public_send(destroy_method, issuable, current_user) # rubocop:disable GitlabSecurity/PublicSend
name = issuable.human_class_name
flash[:notice] = "The #{name} was successfully deleted."