diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-10-02 16:03:11 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-10-02 16:03:11 +0300 |
commit | 3d8900c0d403d6fb97c6f24c21b9d50d9c3678d9 (patch) | |
tree | a9e06e8e16326b14a6fc8434a3642e164c52a034 /app/services | |
parent | 9dd50b57ecb11b05db752c95a62d08f837ce46fd (diff) |
Fix RuboCop failure in app/services/notification_service.rb
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/notification_service.rb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/app/services/notification_service.rb b/app/services/notification_service.rb index 2cc0c31d77d..de8049b8e2e 100644 --- a/app/services/notification_service.rb +++ b/app/services/notification_service.rb @@ -518,8 +518,13 @@ class NotificationService def close_resource_email(target, project, current_user, method, skip_current_user: true) action = method == :merged_merge_request_email ? "merge" : "close" - recipients = build_recipients(target, project, current_user, action: action, - skip_current_user: skip_current_user) + recipients = build_recipients( + target, + project, + current_user, + action: action, + skip_current_user: skip_current_user + ) recipients.each do |recipient| mailer.send(method, recipient.id, target.id, current_user.id).deliver_later |