]> iEval git - gruntmaster-page.git/blobdiff - lib/Plack/App/Gruntmaster.pm
Make editorials private before contest start
[gruntmaster-page.git] / lib / Plack / App / Gruntmaster.pm
index a7e4e1dd52dc63c335482347c70359aedd42c400..2c3b2a2c6c619b2f916976ad8b4cebbcbfa8d65e 100644 (file)
@@ -165,7 +165,7 @@ sub dispatch_request{
                },
 
                sub (/ed/:contest) {
-                       forbid contest->is_running;
+                       forbid !contest->is_finished;
                        response ed => 'Editorial of ' . contest->name, db->problem_list(contest => $_{contest}, solution => 1);
                },
 
This page took 0.016877 seconds and 4 git commands to generate.