sub _ACTION : Private {
my ( $self, $c ) = @_;
- $c->action->execute($c);
+ if ( ref $c->action
+ && $c->action->isa('Catalyst::Action')
+ && $c->req->action )
+ {
+ $c->action->execute($c);
+ }
return !@{ $c->error };
}
=head1 METHODS
-=over 4
-
-=item $self->action_namespace($c)
+=head2 $self->action_namespace($c)
=cut
|| '';
}
-=item $self->register_actions($c)
+=head2 $self->register_actions($c)
=cut
return \%attributes;
}
-=back
-
=head1 SEE ALSO
-L<Catalyst>.
+L<Catalyst>, L<Catalyst::Controller>.
=head1 AUTHOR