X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FDispatcher.pm;h=96793faf1dbbbd05132179e064e23fa834824885;hp=e143b001bfca4470f705dd74e12faa0167a75d42;hb=2633d7dc3bb9c0cf7bf3e7cf936d6411fe3ba5aa;hpb=78d760bb64c2142042834b11911b728259e3005d diff --git a/lib/Catalyst/Dispatcher.pm b/lib/Catalyst/Dispatcher.pm index e143b00..96793fa 100644 --- a/lib/Catalyst/Dispatcher.pm +++ b/lib/Catalyst/Dispatcher.pm @@ -229,7 +229,7 @@ sub prepare_action { # this level foreach my $type ( @{ $self->dispatch_types } ) { - last DESCEND if $type->prepare_action( $c, $path ); + last DESCEND if $type->match( $c, $path ); } # If not, move the last part path to args @@ -382,7 +382,7 @@ sub set_action { # Pass the action to our dispatch types so they can register it if reqd. foreach my $type ( @{ $self->dispatch_types } ) { - $type->register_action( $c, $action ); + $type->register( $c, $action ); } }