Updated par helper
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Base.pm
index 1b672f0..9aa4dbf 100644 (file)
@@ -43,7 +43,10 @@ sub _AUTO : Private {
 
 sub _ACTION : Private {
     my ( $self, $c ) = @_;
-    if ( ref $c->action && $c->action->isa('Catalyst::Action') ) {
+    if (   ref $c->action
+        && $c->action->isa('Catalyst::Action')
+        && $c->req->action )
+    {
         $c->action->execute($c);
     }
     return !@{ $c->error };