MorningPeak/app/views/tickets/index.json.jbuilder
2015-06-17 16:36:35 +02:00

5 lines
163 B
Ruby

json.array!(@tickets) do |ticket|
json.extract! ticket, :id, :client_id, :bill_id, :title, :description, :state
json.url ticket_url(ticket, format: :json)
end