Add links activity posts in calendars
This commit is contained in:
parent
a7dbaea298
commit
86cafa7e94
2 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ cal = RiCal.Calendar do |cal|
|
|||
end
|
||||
if e[:url]
|
||||
event.url = e[:url]
|
||||
elsif e.identifier.start_with?('/events')
|
||||
elsif e.identifier.start_with?('/events') or e.identifier.start_with?('/activities')
|
||||
event.url = "#{@config[:base_url]}#{e.path}"
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue