DispatchType stripped of CAF, SUPER and substituted instances of $self->{*} with...
[catagits/Catalyst-Runtime.git] / lib / Catalyst / DispatchType / Index.pm
index fbe9faa..8ffda14 100644 (file)
@@ -1,7 +1,7 @@
 package Catalyst::DispatchType::Index;
 
-use strict;
-use base qw/Catalyst::DispatchType/;
+use Moose;
+extends 'Catalyst::DispatchType';
 
 =head1 NAME
 
@@ -18,7 +18,8 @@ See L<Catalyst>.
 =head2 $self->match( $c, $path )
 
 Check if there's an index action for a given path, and set it up to use it
-if there is.
+if there is; only matches a full URI - if $c->req->args is already set
+this DispatchType is guaranteed not to match.
 
 =cut