MorningPeak/app/views/client_tickets/index.json.jbuilder
Arthur Poulet b865a60bea Ticket is ready
- Ticket in user/admin sides ok (respond tested)
- Fix seeds
- Fix models
- Fix all migrations
- Add client_... controllers (bills/tickets)
2015-06-18 00:56:01 +02:00

5 lines
141 B
Ruby

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