diff --git a/app/models/message.rb b/app/models/message.rb index 63a7ce5f..438b2d5c 100644 --- a/app/models/message.rb +++ b/app/models/message.rb @@ -119,7 +119,7 @@ class Message < ActiveRecord::Base end def content - self.message_detail.try(:content) + self.try(:content) end def topic?