diff --git a/app/models/concerns/noticed/deliverable.rb b/app/models/concerns/noticed/deliverable.rb index 05621c0..ba684c6 100644 --- a/app/models/concerns/noticed/deliverable.rb +++ b/app/models/concerns/noticed/deliverable.rb @@ -91,7 +91,7 @@ def deliver(recipients = nil, options = {}) def recipient_attributes_for(recipient) { type: "#{self.class.name}::Notification", - recipient_type: recipient.class.name, + recipient_type: recipient.class.base_class.name, recipient_id: recipient.id } end