Create branch register_actions.
[catagits/Catalyst-Runtime.git] / t / lib / Catalyst / Action / TestAfter.pm
index 61fb9d7..199ea25 100644 (file)
@@ -8,7 +8,7 @@ use base qw/Catalyst::Action/;
 sub execute {
     my $self = shift;
     my ( $controller, $c ) = @_;
-    $self->NEXT::execute( @_ );
+    $self->next::method( @_ );
     $c->res->header( 'X-Action-After', $c->stash->{after_message} );
 }