Reverse order of past events, fixes #127

This commit is contained in:
Lorin Werthen 2016-12-11 01:18:14 +01:00
parent 158534e303
commit 11446c2169
No known key found for this signature in database
GPG key ID: F11FFC921E0E08E0

View file

@ -9,7 +9,7 @@ module EventsHelper
end
def past_events
all_events.reject { |x| x[:time] > Date.today }
all_events.reject { |x| x[:time] > Date.today }.reverse
end
def grouped_events