Remove archive standings
[gruntmaster-page.git] / lib / Plack / App / Gruntmaster.pm
index 3cb38097fb8052b76602c7bca35e62a4b58dbbf1..4a89edab6ef3f34a3bbd3f48d023f2d53eada852 100644 (file)
@@ -135,14 +135,10 @@ sub dispatch_request{
                        },
                },
 
-               sub (/st/) {
-                       response st => 'Standings', { st => [db->standings] }
-               },
-
                sub (/st/:contest) {
                        response st => 'Standings', {
-                               st => [ db->standings($_{contest}) ],
-                               problems => [map { $_->problem } contest->contest_problems]
+                               st => [ contest->standings ],
+                               problems => [map { $_->problem } contest->contest_problems],
                        }
                },
 
This page took 0.010679 seconds and 4 git commands to generate.