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 ||= []
|
||||
end
|
||||
|
||||
def <<(arg)
|
||||
users, type = arg
|
||||
def <<(pair)
|
||||
users, type = pair
|
||||
|
||||
if users.is_a?(ActiveRecord::Relation)
|
||||
users = users.includes(:notification_settings)
|
||||
|
|
Loading…
Reference in a new issue