X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FDispatchType%2FIndex.pm;h=3f4d722abdb108f62d0e48e9a7a2d328fa2f78eb;hp=f99e41cd5523294a197f6832728bf5dc3f0cf147;hb=b9b89145c40b01ae04dc483f4f29c02cf08725be;hpb=b2b90ec28d4f51ef6e86e5acc2abb1dc92446147 diff --git a/lib/Catalyst/DispatchType/Index.pm b/lib/Catalyst/DispatchType/Index.pm index f99e41c..3f4d722 100644 --- a/lib/Catalyst/DispatchType/Index.pm +++ b/lib/Catalyst/DispatchType/Index.pm @@ -1,7 +1,8 @@ package Catalyst::DispatchType::Index; -use strict; -use base qw/Catalyst::DispatchType/; +use Moose; +extends 'Catalyst::DispatchType'; +no Moose; =head1 NAME @@ -9,10 +10,21 @@ Catalyst::DispatchType::Index - Index DispatchType =head1 SYNOPSIS -See L. +See L. =head1 DESCRIPTION +Dispatch type managing behaviour for index pages. For more information on +dispatch types, see: + +=over 4 + +=item * L for how they affect application authors + +=item * L for implementation information. + +=back + =head1 METHODS =head2 $self->match( $c, $path ) @@ -55,9 +67,9 @@ sub uri_for_action { return "/".$action->namespace; } -=head1 AUTHOR +=head1 AUTHORS -Sebastian Riedel, C +Catalyst Contributors, see Catalyst.pm =head1 COPYRIGHT @@ -66,4 +78,6 @@ the same terms as Perl itself. =cut +__PACKAGE__->meta->make_immutable; + 1;