Mudancas no dashboard, calendario e noticias

This commit is contained in:
2008-03-04 07:05:15 -03:00
parent 9461dcaf66
commit 11473aa23a
16 changed files with 155 additions and 216 deletions

View File

@@ -21,8 +21,8 @@ class Event < ActiveRecord::Base
courses.each do |course|
course.events.each do |user_event|
event = Icalendar::Event.new
event.start = user_event.date
event.end = user_event.date
event.start = user_event.time
event.end = user_event.time
event.summary = "#{course.short_name}: #{user_event.title}"
event.description = user_event.description
cal.add(event)