json.partial! "messages/message_simple", message: message
json.partial! "commons/like", message: message
json.content message.message_detail.try(:content)
json.author do
  json.partial! "users/user_simple", user: message.author
end