fix double event

This commit is contained in:
Lorin Werthen 2017-02-16 13:14:14 +01:00
parent 72652392fb
commit 0f0d0a8707
No known key found for this signature in database
GPG key ID: F11FFC921E0E08E0

View file

@ -40,7 +40,7 @@
</div>
<div class="tile">
<div class="tile is-vertical">
<% all_events.reverse[1..3].each do |event| %>
<% all_events.reject { |x| x == upcoming_events[0] }.reverse[0..2].each do |event| %>
<div class="tile is-parent ">
<%= render '/partials/_tile.*',
article: event,