]> ruin.nu Git - ndwebbie.git/blobdiff - lib/NDWeb.pm
Add a calc link on raids
[ndwebbie.git] / lib / NDWeb.pm
index 5e576837521556f65d029a2ff14acb697116d65c..313ba3369911b6c2adc235e7908d0329ad19fe7c 100644 (file)
@@ -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/]);