$title = 'No title';
}
$params->{time} = time;
+ $params->{args} = {%_};
bless {template => $template, title => $title, params => $params, maxage => ($maxage // 1)}, __PACKAGE__.'::Response'
}
sub (/ct/ + ?:owner~) { response ct => 'Contests', db->contest_list(%_) },
sub (/log/ + ?:contest~&:owner~&:page~&:problem~&:private~) {
forbid $_{private};
- response log => 'Job list', {%{db->job_list(%_)}, maybe contest => $_{contest}}
+ response log => 'Job list', {%{db->job_list(%_)}, maybe contest => $_{contest},}
},
sub (/pb/ + ?:owner~&:contest~&:private~) {
forbid $_{private};