5 lines
163 B
Ruby
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
|