Fix duplicate events
This commit is contained in:
parent
3fb32d59f8
commit
aaaaaaae4e
|
@ -34,7 +34,7 @@ module EventsHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def front_page_events
|
def front_page_events
|
||||||
upcoming_events + all_events.reverse
|
upcoming_events + all_events.reverse[(upcoming_events.length)..]
|
||||||
end
|
end
|
||||||
|
|
||||||
def sub_events(grouped_event)
|
def sub_events(grouped_event)
|
||||||
|
|
Loading…
Reference in a new issue