clearer argument name
This commit is contained in:
parent
e5496e1e8e
commit
9d53418acb
1 changed files with 2 additions and 2 deletions
|
@ -48,8 +48,8 @@ module NotificationRecipientService
|
||||||
@recipients ||= []
|
@recipients ||= []
|
||||||
end
|
end
|
||||||
|
|
||||||
def <<(arg)
|
def <<(pair)
|
||||||
users, type = arg
|
users, type = pair
|
||||||
|
|
||||||
if users.is_a?(ActiveRecord::Relation)
|
if users.is_a?(ActiveRecord::Relation)
|
||||||
users = users.includes(:notification_settings)
|
users = users.includes(:notification_settings)
|
||||||
|
|
Loading…
Reference in a new issue