diff --git a/app/models/card/readable.rb b/app/models/card/readable.rb index 652bb2fce..b37538b9b 100644 --- a/app/models/card/readable.rb +++ b/app/models/card/readable.rb @@ -20,14 +20,14 @@ module Card::Readable events + comment_creation_events end - def mention_notification_sources - mentions + comment_mentions - end - def comment_creation_events Event.where(eventable: comments) end + def mention_notification_sources + mentions + comment_mentions + end + def comment_mentions Mention.where(source: comments) end