1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-04 15:24:23 +01:00
fab-manager/app/views/api/i_calendar/events.json.jbuilder
2019-12-02 15:53:24 +01:00

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