diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-07-06 21:38:05 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2018-07-06 21:38:05 +0800 |
commit | 66db55319054d6988bc8efd8fab9b59377907ef5 (patch) | |
tree | 9774f75cf0ed6065bb126aa6997a5b7e6599c3d7 /app/mailers/previews | |
parent | c83381938aafe6d5e7da8890150ba285a2533665 (diff) | |
download | gitlab-ce-66db55319054d6988bc8efd8fab9b59377907ef5.tar.gz |
Disable public_send for our preview mailers
Diffstat (limited to 'app/mailers/previews')
-rw-r--r-- | app/mailers/previews/notify_preview.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/mailers/previews/notify_preview.rb b/app/mailers/previews/notify_preview.rb index e32fd0bd120..3615cde8026 100644 --- a/app/mailers/previews/notify_preview.rb +++ b/app/mailers/previews/notify_preview.rb @@ -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 |