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=c03f1b33822d64f55324f35c5f7b251048017188;hp=c4e4dd09a71c42df415fcccd1b50865cc871b7a8;hb=b8f669f3c51dab87bfe9387dbaac0c07027abcfd;hpb=7f23827ba42e87b4bf1f52d37534f3229a7f594d diff --git a/lib/Catalyst/Dispatcher.pm b/lib/Catalyst/Dispatcher.pm index c4e4dd0..c03f1b3 100644 --- a/lib/Catalyst/Dispatcher.pm +++ b/lib/Catalyst/Dispatcher.pm @@ -159,7 +159,7 @@ sub forward { #push @$args, @_; local $c->request->{arguments} = $args; - $action->execute($c); + $action->dispatch( $c ); return $c->state; } @@ -292,11 +292,11 @@ sub get_action { return $self->action_hash->{"$namespace/$name"}; } -=head2 $self->get_action_by_path( $path ); +=head2 $self->get_action_by_path( $path ); + +Returns the named action by its full path. -returns the named action by it's full path. - -=cut +=cut sub get_action_by_path { my ( $self, $path ) = @_; @@ -442,7 +442,7 @@ sub setup_actions { my $privates = Text::SimpleTable->new( [ 20, 'Private' ], - [ 38, 'Class' ], + [ 36, 'Class' ], [ 12, 'Method' ] );