Commit 9d53418a authored by http://jneen.net/'s avatar http://jneen.net/

clearer argument name

parent e5496e1e
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment