},
sub (/ed/:contest) {
- forbid contest->is_running;
+ forbid !contest->is_finished;
my $pblist = db->problem_list(contest => $_{contest}, solution => 1);
response ed => 'Editorial of ' . contest->name, {%$pblist, editorial => contest->editorial};
},