X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FDispatchType.pm;h=6ac653d4d12307427e54d64763ce3fa7f235b24d;hb=8be895a7aa1d89a8004cc0cd37962025bc5c3b3d;hp=99da4c6137669e0c6b785e05dc1f2047f36e82bc;hpb=6680c772eaa987eafdb32e9437fd2d649dc914d9;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/DispatchType.pm b/lib/Catalyst/DispatchType.pm index 99da4c6..6ac653d 100644 --- a/lib/Catalyst/DispatchType.pm +++ b/lib/Catalyst/DispatchType.pm @@ -1,8 +1,8 @@ package Catalyst::DispatchType; use Moose; -#use strict; -#use base 'Class::Accessor::Fast'; +with 'MooseX::Emulate::Class::Accessor::Fast'; +no Moose; =head1 NAME @@ -59,10 +59,18 @@ arrayref, or undef if unable to do so. sub uri_for_action { } -=head1 AUTHOR +=head2 $self->expand_action + +Default fallback, returns nothing. See L for more info +about expand_action. + +=cut -Matt S Trout -Sebastian Riedel, C +sub expand_action { } + +=head1 AUTHORS + +Catalyst Contributors, see Catalyst.pm =head1 COPYRIGHT @@ -71,7 +79,6 @@ the same terms as Perl itself. =cut -no Moose; __PACKAGE__->meta->make_immutable; 1;