X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FDispatchType.pm;h=6ac653d4d12307427e54d64763ce3fa7f235b24d;hb=b354201608d428db344c63dd35de096a62a7a9d3;hp=a3f271efefe3e8019525e1428ad2e8213a6422de;hpb=0bf7ab7160f4f2fd0f00cd3d53ac311e9ad50241;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/DispatchType.pm b/lib/Catalyst/DispatchType.pm index a3f271e..6ac653d 100644 --- a/lib/Catalyst/DispatchType.pm +++ b/lib/Catalyst/DispatchType.pm @@ -1,7 +1,8 @@ package Catalyst::DispatchType; -use strict; -use base 'Class::Accessor::Fast'; +use Moose; +with 'MooseX::Emulate::Class::Accessor::Fast'; +no Moose; =head1 NAME @@ -58,6 +59,15 @@ arrayref, or undef if unable to do so. sub uri_for_action { } +=head2 $self->expand_action + +Default fallback, returns nothing. See L for more info +about expand_action. + +=cut + +sub expand_action { } + =head1 AUTHORS Catalyst Contributors, see Catalyst.pm @@ -69,4 +79,6 @@ the same terms as Perl itself. =cut +__PACKAGE__->meta->make_immutable; + 1;