sub _ACTION : Private {
my ( $self, $c ) = @_;
- $c->action->execute($c);
+ if ( ref $c->action && $c->action->isa('Catalyst::Action') ) {
+ $c->action->execute($c);
+ }
return !@{ $c->error };
}
=head1 SEE ALSO
-L<Catalyst>.
+L<Catalyst>, L<Catalyst::Controller>.
=head1 AUTHOR