mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-04 15:24:23 +01:00
10 lines
247 B
Ruby
10 lines
247 B
Ruby
# frozen_string_literal: true
|
|
|
|
json.array!(@events) do |event|
|
|
json.id event.uid
|
|
json.title event.i_calendar.text_hidden ? '' : event.summary
|
|
json.start event.dtstart.iso8601
|
|
json.end event.dtend.iso8601
|
|
json.backgroundColor 'white'
|
|
end
|