From 11446c216940e735df26999f2c237aa20c1d90fa Mon Sep 17 00:00:00 2001 From: Lorin Werthen Date: Sun, 11 Dec 2016 01:18:14 +0100 Subject: [PATCH] Reverse order of past events, fixes #127 --- lib/helpers/events.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/helpers/events.rb b/lib/helpers/events.rb index 65daef9..a7c69cb 100644 --- a/lib/helpers/events.rb +++ b/lib/helpers/events.rb @@ -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