272c481464
* Feature: Add tweets to conversations
10 lines
298 B
Ruby
10 lines
298 B
Ruby
json.payload do
|
|
json.array! @contacts do |contact|
|
|
json.id contact.id
|
|
json.name contact.name
|
|
json.email contact.email
|
|
json.phone_number contact.phone_number
|
|
json.thumbnail contact.avatar.profile_thumb.url
|
|
json.additional_attributes contact.additional_attributes
|
|
end
|
|
end
|