X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FAction.pm;h=130006a244acde8057a021f022e01949688cdc94;hb=a2e038a1e9cbc0f1ea32b7087e6b47efe3af082f;hp=9b2ea9fed4f3e759faa9c0e7cf534094c5cb6c11;hpb=11bd4e3eaa29685c44318041381621e79c4a5f44;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Action.pm b/lib/Catalyst/Action.pm index 9b2ea9f..130006a 100644 --- a/lib/Catalyst/Action.pm +++ b/lib/Catalyst/Action.pm @@ -27,30 +27,27 @@ See L. =head1 METHODS -=over 4 +=head2 attributes -=item attributes +=head2 class -=item class +=head2 code -=item code - -=item execute +=head2 execute =cut sub execute { # Execute ourselves against a context my ( $self, $c ) = @_; + local $c->namespace = $self->namespace; return $c->execute( $self->class, $self ); } -=item namespace - -=item reverse +=head2 namespace -=item name +=head2 reverse -=back +=head2 name =head1 AUTHOR