clarion/app/views/api/slots/index.jbuilder
2015-10-17 18:26:21 +03:00

6 lines
121 B
Ruby

@slots.each do |slot|
json.set! slot.id do
json.extract! slot, :hall_id, :event_id, :starts_at, :ends_at
end
end