diff --git a/app/models/concerns/mentions.rb b/app/models/concerns/mentions.rb index fde4e8ca1..665ab5be4 100644 --- a/app/models/concerns/mentions.rb +++ b/app/models/concerns/mentions.rb @@ -14,9 +14,7 @@ module Mentions end def mentionable_content - markdown_associations.collect do |association| - send(association.name)&.to_plain_text - end.compact.join(" ") + markdown_associations.collect { |association| send(association.name)&.to_plain_text }.compact.join(" ") end private