Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://jneen.net/ <jneen@jneen.net>2017-07-31 19:30:35 +0300
committerhttp://jneen.net/ <jneen@jneen.net>2017-08-03 19:07:18 +0300
commit19309b970556797027e57c212d9b9aa053c36892 (patch)
tree534566b686ad4d3de6ed075f2d11a5863ca4863b /app/services/notification_recipient_service.rb
parent3829d7245a446fe80745f5e7c082e005fc013365 (diff)
default the project to target.project
Diffstat (limited to 'app/services/notification_recipient_service.rb')
-rw-r--r--app/services/notification_recipient_service.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/notification_recipient_service.rb b/app/services/notification_recipient_service.rb
index 6b4e97aaab4..0627cca9214 100644
--- a/app/services/notification_recipient_service.rb
+++ b/app/services/notification_recipient_service.rb
@@ -56,7 +56,8 @@ module NotificationRecipientService
end
def make_recipient(user, type)
- NotificationRecipient.new(user, project, type,
+ NotificationRecipient.new(user, type,
+ project: project,
custom_action: custom_action,
target: target,
acting_user: acting_user,