May be the last setup method
Tomas Doran [Sun, 8 Feb 2009 14:49:45 +0000 (14:49 +0000)]
lib/Catalyst/Plugin/Static/Simple.pm

index 6d93423..03aecd0 100644 (file)
@@ -83,7 +83,7 @@ sub finalize {
 sub setup {
     my $c = shift;
     
-    $c->next::method(@_);
+    $c->maybe::next::method(@_);
     
     if ( Catalyst->VERSION le '5.33' ) {
         require File::Slurp;