X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FDispatchType.pm;h=ce16150eb5577a6d5f10de5146748ec9551ce849;hb=e16a6c4e6c4d49e73b5286b3186616af14f3f554;hp=f8476eb617a5a03b12d300a1417e94e2fe05721d;hpb=a486ab55fa8e0650a63d7b4f69ec02f79bd701a4;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/DispatchType.pm b/lib/Catalyst/DispatchType.pm index f8476eb..ce16150 100644 --- a/lib/Catalyst/DispatchType.pm +++ b/lib/Catalyst/DispatchType.pm @@ -46,6 +46,15 @@ Should return true if it registers something, or false otherwise. sub register { } +=head2 $self->expand_action + +Default fallback, returns nothing. See L for more info +about expand_action. + +=cut + +sub expand_action { } + =head2 $self->uri_for_action( $action, \@captures ) abstract method, to be implemented by dispatchtypes. Takes a @@ -58,10 +67,9 @@ arrayref, or undef if unable to do so. sub uri_for_action { } -=head1 AUTHOR +=head1 AUTHORS -Matt S Trout -Sebastian Riedel, C +Catalyst Contributors, see Catalyst.pm =head1 COPYRIGHT