You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
236 B
6 lines
236 B
6 years ago
|
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
|