X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FPlack%2FApp%2FGruntmaster.pm;h=2c3b2a2c6c619b2f916976ad8b4cebbcbfa8d65e;hb=90f613d3964e01ed8cc18ca07a89ffff87f72f4c;hp=a7e4e1dd52dc63c335482347c70359aedd42c400;hpb=c7f959c08f0d0d6727bc3d98853f0fa69e255957;p=gruntmaster-page.git diff --git a/lib/Plack/App/Gruntmaster.pm b/lib/Plack/App/Gruntmaster.pm index a7e4e1d..2c3b2a2 100644 --- a/lib/Plack/App/Gruntmaster.pm +++ b/lib/Plack/App/Gruntmaster.pm @@ -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); },