|
|
|
@ -11,7 +11,7 @@ json.data do
|
|
|
|
|
|
|
|
|
|
json.total_praises_count @praises_count_map.fetch(message.id, 0)
|
|
|
|
|
|
|
|
|
|
json.partial! "messages/message", message: message
|
|
|
|
|
#json.partial! "messages/message", message: message
|
|
|
|
|
json.author do
|
|
|
|
|
json.partial! "users/user_simple", user: message.author
|
|
|
|
|
end
|
|
|
|
|