Changed default match to use path instead of result
[catagits/Catalyst-Runtime.git] / lib / Catalyst / DispatchType / Index.pm
index 3caeb5c..9057de1 100644 (file)
@@ -23,7 +23,6 @@ See L<Catalyst>.
 
 sub match {
     my ( $self, $c, $path ) = @_;
-    return if $path =~ m!/!;
     return if @{ $c->req->args };
     my $result = @{ $c->get_action( 'index', $c->req->path ) || [] }[-1];