Reorder methods

This commit is contained in:
Jorge Manrubia
2025-04-25 20:04:04 +02:00
parent 0056cafa04
commit 685c1f4aca
+4 -4
View File
@@ -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