MorningPeak/app/views/client_bills/index.json.jbuilder
2015-06-18 01:56:36 +02:00

5 lines
166 B
Ruby

json.array!(@bills) do |bill|
json.extract! bill, :id, :title, :description, :amount, :paid, :emission_date, :due_date
json.url bill_url(bill, format: :json)
end