},
sub (/robots.txt) { NOT_FOUND },
- sub (/favicon.ico) { NOT_FOUND },
sub (/src/:job) {
return NOT_FOUND if !job;
sub (/ed/:contest) {
forbid !contest->is_finished;
- response ed => 'Editorial of ' . contest->name, db->problem_list(contest => $_{contest}, solution => 1);
+ my $pblist = db->problem_list(contest => $_{contest}, solution => 1);
+ response ed => 'Editorial of ' . contest->name, {%$pblist, editorial => contest->editorial};
},
sub (/login) {