app/services/hyrax/workflow/abstract_notification.rb in hyrax-1.0.0.rc1 vs app/services/hyrax/workflow/abstract_notification.rb in hyrax-1.0.0.rc2
- old
+ new
@@ -17,10 +17,12 @@
@user = user
@entity = entity
end
def call
- user.send_message(users_to_notify.uniq, message, subject)
+ users_to_notify.uniq.each do |recipient|
+ user.send_message(recipient, message, subject)
+ end
end
protected
def subject