Skip to content

Commit

Permalink
Show finished games in reverse order
Browse files Browse the repository at this point in the history
  • Loading branch information
radanskoric committed Aug 22, 2024
1 parent 3bbdc99 commit af4b2e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/games/_list.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<ul>
<% games.find_each do |game| %>
<% games.find_each(order: :desc) do |game| %>
<li class="<%= game_color(game) %>">
<%= link_to game_title(game), game_path(game) %>
</li>
Expand Down

0 comments on commit af4b2e5

Please # to comment.