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