7838150f59
all this modifications re done in contact - rename the column last_contact to view_at - fix view - add a link in /contact/index to update the view date
5 lines
214 B
Ruby
5 lines
214 B
Ruby
json.array!(@contacts) do |contact|
|
|
json.extract! contact, :id, :client_id, :name, :phone, :email, :view_at, :note, :region, :department, :postal_code, :address
|
|
json.url contact_url(contact, format: :json)
|
|
end
|