fix double event
This commit is contained in:
parent
72652392fb
commit
0f0d0a8707
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="tile">
|
<div class="tile">
|
||||||
<div class="tile is-vertical">
|
<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 ">
|
<div class="tile is-parent ">
|
||||||
<%= render '/partials/_tile.*',
|
<%= render '/partials/_tile.*',
|
||||||
article: event,
|
article: event,
|
||||||
|
|
Loading…
Reference in a new issue