Disable public_send for our preview mailers
This commit is contained in:
parent
c83381938a
commit
66db553190
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ class NotifyPreview < ActionMailer::Preview
|
|||
cleanup do
|
||||
note = yield
|
||||
|
||||
Notify.public_send(method, user.id, note)
|
||||
Notify.public_send(method, user.id, note) # rubocop:disable GitlabSecurity/PublicSend
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue