From 63fc1722f5c42cde17f18e9480dd6de3e9b6c2d4 Mon Sep 17 00:00:00 2001 From: Stefan Schlott Date: Tue, 27 Aug 2013 21:00:32 +0200 Subject: [PATCH] Create absolute urls in ical --- content/ical.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/ical.txt b/content/ical.txt index 313b36ce..2865b4b4 100644 --- a/content/ical.txt +++ b/content/ical.txt @@ -20,7 +20,7 @@ cal = RiCal.Calendar do |cal| if e[:url] event.url = e[:url] elsif e.identifier.start_with?('/events') - event.url = e.path + event.url = "#{@config[:base_url]}#{e.path}" end end end