X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FActionContainer.pm;h=14a2fcc49045fc701bd3e4c79053eb8a120d72b5;hb=af3ff00e4738b2e87d189e79fd12739315711ab3;hp=337fdf6ed5492f95ce0e4669382fca5ad713c5ca;hpb=2633d7dc3bb9c0cf7bf3e7cf936d6411fe3ba5aa;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/ActionContainer.pm b/lib/Catalyst/ActionContainer.pm index 337fdf6..14a2fcc 100644 --- a/lib/Catalyst/ActionContainer.pm +++ b/lib/Catalyst/ActionContainer.pm @@ -26,10 +26,20 @@ See L. =over 4 -=item part +=item get_action + +=cut + +sub get_action { + my ( $self, $c, $name ) = @_; + return $self->actions->{$name} if defined $self->actions->{$name}; + return; +} =item actions +=item part + =back =head1 AUTHOR