- Catalyst no longer isa Catalyst::Base (adds Catalyst::Controller to @INC instead...
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Base.pm
index b1f105b..a8cc036 100644 (file)
@@ -44,7 +44,7 @@ sub _AUTO : Private {
 sub _ACTION : Private {
     my ( $self, $c ) = @_;
     if (   ref $c->action
-        && $c->action->isa('Catalyst::Action')
+        && $c->action->can('execute')
         && $c->req->action )
     {
         $c->action->execute($c);