diff options
-rw-r--r-- | app/views/wittle/puzzles/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/wittle/puzzles/show.html.haml b/app/views/wittle/puzzles/show.html.haml index 6825f22..47db8f2 100644 --- a/app/views/wittle/puzzles/show.html.haml +++ b/app/views/wittle/puzzles/show.html.haml | |||
@@ -25,7 +25,7 @@ | |||
25 | #by-time | 25 | #by-time |
26 | %h2 Fastest Solves | 26 | %h2 Fastest Solves |
27 | %table | 27 | %table |
28 | - @puzzle.scores.where("seconds_taken IS NOT NULL").order(seconds_taken: :asc).limit(100).each_with_index do |score, i| | 28 | - @puzzle.scores.where("seconds_taken IS NOT NULL").order(seconds_taken: :asc, created_at: :asc).limit(100).each_with_index do |score, i| |
29 | %tr | 29 | %tr |
30 | %td #{(i + 1)}. | 30 | %td #{(i + 1)}. |
31 | %td= score.name | 31 | %td= score.name |