X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=lib%2FNDWeb.pm;h=313ba3369911b6c2adc235e7908d0329ad19fe7c;hb=4f142aefe97e62d8510e8f4c69e18cdad8766d13;hp=5e576837521556f65d029a2ff14acb697116d65c;hpb=be99623fcecb41431020f1cd46a2dca56f9c467a;p=ndwebbie.git diff --git a/lib/NDWeb.pm b/lib/NDWeb.pm index 5e57683..313ba33 100644 --- a/lib/NDWeb.pm +++ b/lib/NDWeb.pm @@ -49,7 +49,7 @@ __PACKAGE__->config( page_cache => { disable_index => 1, }); - +__PACKAGE__->config( default_model => 'Model'); # Start the application __PACKAGE__->setup(qw/ -Debug @@ -93,6 +93,7 @@ __PACKAGE__->allow_access_if('/calls/findCall',[qw/members/]); __PACKAGE__->deny_access_unless('/raids',[qw/raids_edit/]); __PACKAGE__->allow_access_if('/raids/index',[qw//]); __PACKAGE__->allow_access_if('/raids/view',[qw//]); +__PACKAGE__->allow_access_if('/raids/targetcalc',[qw//]); __PACKAGE__->allow_access_if('/raids/findRaid',[qw//]); __PACKAGE__->allow_access_if('/raids/log',[qw//]); __PACKAGE__->deny_access_unless('/intel',[qw/intel/]);