b865a60bea
- Ticket in user/admin sides ok (respond tested) - Fix seeds - Fix models - Fix all migrations - Add client_... controllers (bills/tickets)
5 lines
141 B
Ruby
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
|