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

clearer argument name

parent e5496e1e
...@@ -48,8 +48,8 @@ module NotificationRecipientService ...@@ -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)
......
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