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
|