]> iEval git - gruntmaster-page.git/blobdiff - lib/Plack/App/Gruntmaster.pm
Merge branch 'master' into newmc
[gruntmaster-page.git] / lib / Plack / App / Gruntmaster.pm
index 66b5b6eb4843d953d351762a43653d4f8f5cc248..c590bc9e2309977edb92554854dd0e66c8605e8b 100644 (file)
@@ -160,7 +160,8 @@ sub dispatch_request{
 
                sub (/ed/:contest) {
                        forbid contest->is_running;
-                       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) {
This page took 0.021991 seconds and 4 git commands to generate.