Create branch register_actions.
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Action / TestBefore.pm
index 0d802bf..c0db6fe 100644 (file)
@@ -9,7 +9,7 @@ sub execute {
     my $self = shift;
     my ( $controller, $c, $test ) = @_;
     $c->res->header( 'X-TestAppActionTestBefore', $test );
-    $self->NEXT::execute( @_ );
+    $self->next::method( @_ );
 }
 
 1;