This commit is contained in:
Lorin Werthen 2017-10-02 19:56:38 +02:00
parent 82c6c989e6
commit c9bc76f696
No known key found for this signature in database
GPG key ID: F11FFC921E0E08E0

View file

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