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