X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FDispatchType%2FIndex.pm;h=dd8b0105fce90fc5caa14d917217eae1aced69f0;hb=a2e038a1e9cbc0f1ea32b7087e6b47efe3af082f;hp=59026cf002038f629ebc6ce21badccf79c7e9b32;hpb=a9dc674c99f36ff40d94b80753a1504074ba5e22;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/DispatchType/Index.pm b/lib/Catalyst/DispatchType/Index.pm index 59026cf..dd8b010 100644 --- a/lib/Catalyst/DispatchType/Index.pm +++ b/lib/Catalyst/DispatchType/Index.pm @@ -15,9 +15,7 @@ See L. =head1 METHODS -=over 4 - -=item $self->match( $c, $path ) +=head2 $self->match( $c, $path ) =cut @@ -27,7 +25,7 @@ sub match { my $result = $c->get_action( 'index', $path ); if ($result) { - $c->action( $result ); + $c->action($result); $c->namespace( $result->namespace ); $c->req->action('index'); $c->req->match( $c->req->path ); @@ -36,8 +34,6 @@ sub match { return 0; } -=back - =head1 AUTHOR Sebastian Riedel, C