Implement :Chained('../action').
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Dispatcher.pm
index 8afe7fe..262301a 100644 (file)
@@ -176,7 +176,7 @@ sub go {
     my ( $c, $command ) = @_;
     my ( $action, $args ) = $self->_command2action(@_);
 
-    unless ($action) {
+    unless ($action && defined $action->namespace) {
         my $error =
             qq/Couldn't go to command "$command": /
           . qq/Invalid action or component./;
@@ -567,10 +567,9 @@ sub _load_dispatch_types {
     return @loaded;
 }
 
-=head1 AUTHOR
+=head1 AUTHORS
 
-Sebastian Riedel, C<sri@cpan.org>
-Matt S Trout, C<mst@shadowcatsystems.co.uk>
+Catalyst Contributors, see Catalyst.pm
 
 =head1 COPYRIGHT