From 6755ea4b1e7fdcd15d56a930f1143b95f372fd87 Mon Sep 17 00:00:00 2001 From: Ivaylo Markov Date: Thu, 29 Oct 2020 18:44:31 +0200 Subject: [PATCH] Remove event link in iCalendar export --- app/views/api/events/index.ics.erb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/views/api/events/index.ics.erb b/app/views/api/events/index.ics.erb index 6010018..4618221 100644 --- a/app/views/api/events/index.ics.erb +++ b/app/views/api/events/index.ics.erb @@ -13,7 +13,6 @@ cal.add_timezone(Time.zone.tzinfo.ical_timezone(Time.now)) ical_event.created = Icalendar::Values::DateTime.new(event.created_at, 'tzid' => event.created_at.time_zone.tzinfo.identifier) ical_event.last_modified = Icalendar::Values::DateTime.new(event.updated_at, 'tzid' => event.updated_at.time_zone.tzinfo.identifier) ical_event.location = event.slot.hall.name - ical_event.url = "https://www.openfest.org/2019/bg/full-schedule-bg/#lecture-#{event.id}" ical_event.alarm do |alarm| alarm.summary = event.title alarm.trigger = "-PT15M"