6 lines
121 B
Ruby
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
|