1 package Catalyst::DispatchType::Index;
4 use base qw/Catalyst::DispatchType/;
8 Catalyst::DispatchType::Index - Index DispatchType
20 =item $self->match( $c, $path )
25 my ( $self, $c, $path ) = @_;
26 return if @{ $c->req->args };
27 my $result = $c->get_action( 'index', $path );
30 $c->action( $result );
31 $c->namespace( $result->namespace );
32 $c->req->action('index');
33 $c->req->match( $c->req->path );
43 Sebastian Riedel, C<sri@cpan.org>
47 This program is free software, you can redistribute it and/or modify it under
48 the same terms as Perl itself.