3 lines
144 B
Ruby
3 lines
144 B
Ruby
json.extract! customer, :id, :name, :phone, :notes, :email, :birthyear, :created_at, :updated_at
|
|
json.url customer_url(customer, format: :json)
|