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-08-01 21:43:24 +0300
committerhttp://jneen.net/ <jneen@jneen.net>2017-08-03 19:07:18 +0300
commit9d53418acb736476e4ede216c1ba9d08a5e3554a (patch)
tree79f3aee50b108b91575c3557483091c4f35b7550 /app/services
parente5496e1e8ef3fa82e6cefcababcb9ad3b55a11c3 (diff)
clearer argument name
Diffstat (limited to 'app/services')
-rw-r--r--app/services/notification_recipient_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/notification_recipient_service.rb b/app/services/notification_recipient_service.rb
index 540e568fed2..cfc1fab210a 100644
--- a/app/services/notification_recipient_service.rb
+++ b/app/services/notification_recipient_service.rb
@@ -48,8 +48,8 @@ module NotificationRecipientService
@recipients ||= []
end
- def <<(arg)
- users, type = arg
+ def <<(pair)
+ users, type = pair
if users.is_a?(ActiveRecord::Relation)
users = users.includes(:notification_settings)