We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 996873a + f3c9ebb commit fd90203Copy full SHA for fd90203
app/helpers/ical_helper.rb
@@ -10,7 +10,7 @@ def icalendar(*events)
10
item.dtstart = Icalendar::Values::DateTime.new event.date.utc, tzid: 'UTC'
11
item.dtend = Icalendar::Values::DateTime.new event.end_date.utc, tzid: 'UTC'
12
item.url = event_url(event)
13
- item.location = event.location.name if event.location
+ item.location = [event.location.name, event.location.address].compact.join(',') if event.location
14
end
15
16
cal.to_ical
0 commit comments