Browse Source

Moved to new syntax.

Martin Edenhofer 8 years ago
parent
commit
e074556d06
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/models/calendar.rb

+ 1 - 1
app/models/calendar.rb

@@ -277,7 +277,7 @@ returns
       cal_file = File.open(location)
     end
 
-    cals = Icalendar.parse(cal_file)
+    cals = Icalendar::Calendar.parse(cal_file)
     cal = cals.first
     events = {}
     cal.events.each { |event|