diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/wittle/puzzles/show.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/wittle/puzzles/show.html.haml b/app/views/wittle/puzzles/show.html.haml index 5eb34a4..6825f22 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(20).each_with_index do |score, i| | 28 | - @puzzle.scores.where("seconds_taken IS NOT NULL").order(seconds_taken: :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 |
@@ -33,7 +33,7 @@ | |||
33 | #by-when | 33 | #by-when |
34 | %h2 Completion Order | 34 | %h2 Completion Order |
35 | %table | 35 | %table |
36 | - @puzzle.scores.order(created_at: :asc).limit(20).each_with_index do |score, i| | 36 | - @puzzle.scores.order(created_at: :asc).limit(100).each_with_index do |score, i| |
37 | %tr | 37 | %tr |
38 | %td #{(i + 1)}. | 38 | %td #{(i + 1)}. |
39 | %td= score.name | 39 | %td= score.name |