Reorder methods
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user