Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Even more openness
  • Loading branch information
davorg committed Sep 21, 2015
1 parent 0ba89c9 commit b302810
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Kinza/lib/Kinza.pm
Expand Up @@ -39,7 +39,9 @@ my $reg_live = $dt_p->parse_datetime($ENV{KZ_REG_OPEN});
my $sel_live = $dt_p->parse_datetime($ENV{KZ_SEL_OPEN});

my %private = map { $_ => 1 } qw[/submit];
my %open = map { $_ => 1, "$_/" => 1 } qw[/closed /years /reports /courses];
my %open = map { $_ => 1, "$_/" => 1 }
qw[/closed /years /reports /courses
/reports/form /reports/course /reports/numbers];
my %reg_open = (%open, map { $_ => 1 } qw[/register]);

hook before => sub {
Expand Down

0 comments on commit b302810

Please sign in to comment.