This commit is contained in:
xianbo 2014-04-18 19:50:42 +08:00
parent 158c950b78
commit 647081539c
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ module ActivitiesHelper
events.sort {|x, y| y.event_datetime <=> x.event_datetime}.each do |event|
if group_events = events_by_group.delete(event.event_group)
group_events.sort {|x, y| y.event_datetime <=> x.event_datetime}.each_with_index do |e, i|
sorted_events << [e, i > 0]
sorted_events << [e, i > 0] unless e.event_description.nil?
end
end
end