app/views/api/v1/contacts/show.json.jbuilder in faalis_contacts-0.1.0 vs app/views/api/v1/contacts/show.json.jbuilder in faalis_contacts-0.3.0
- old
+ new
@@ -1,7 +1,7 @@
json.extract! @contact, :id, :prefix, :first_name, :middle_name, :last_name, :suffix, :organization, :is_organization
json.details @contact.details do |detail|
json.id detail.id
json.type detail.detail_type
- json.field detail.detail_field
+ json.field detail.detail_field_id
json.value detail.detail_value
end