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.
13 lines
319 B
13 lines
319 B
json.count @count
|
|
json.private_messages do
|
|
json.array! @messages.each do |message|
|
|
json.extract! message, :id, :content, :message_count
|
|
|
|
json.unread message.unread?
|
|
json.send_time message.display_send_time
|
|
|
|
json.target do
|
|
json.partial! 'users/user_simple', user: message.target
|
|
end
|
|
end
|
|
end |