]> iEval git - gruntmaster-page.git/commitdiff
Do not pass contest explicitly for /pb/
authorMarius Gavrilescu <marius@ieval.ro>
Tue, 3 Mar 2015 14:44:35 +0000 (16:44 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Tue, 3 Mar 2015 14:44:35 +0000 (16:44 +0200)
lib/Plack/App/Gruntmaster.pm

index 35d788e8887c7e5589c38ffd19d3b80d7fe66e06..a3fde9ed9a33489307400236242977be10f679e4 100644 (file)
@@ -165,7 +165,7 @@ sub dispatch_request{
                },
                sub (/pb/  + ?:owner~&:contest~&:private~)                  {
                        forbid $_{private};
-                       response pb => 'Problems', {%{db->problem_list(%_)}, maybe contest => $_{contest}}
+                       response pb => 'Problems', db->problem_list(%_)
                },
 
                sub (/us/:user)    { response us_entry => user->name, db->user_entry($_{user}) },
This page took 0.024495 seconds and 4 git commands to generate.