clarion/app/views/api/slots/index.jbuilder

6 lines
121 B
Plaintext
Raw Permalink Normal View History

2015-10-17 17:28:57 +03:00
@slots.each do |slot|
json.set! slot.id do
json.extract! slot, :hall_id, :event_id, :starts_at, :ends_at
end
end