X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FAction.pm;h=b2a094770978a434c030ba67019e68494a5fb044;hp=9b2ea9fed4f3e759faa9c0e7cf534094c5cb6c11;hb=261c571ec577304a8a41218a4576675c8099069a;hpb=11bd4e3eaa29685c44318041381621e79c4a5f44 diff --git a/lib/Catalyst/Action.pm b/lib/Catalyst/Action.pm index 9b2ea9f..b2a0947 100644 --- a/lib/Catalyst/Action.pm +++ b/lib/Catalyst/Action.pm @@ -41,6 +41,7 @@ See L. sub execute { # Execute ourselves against a context my ( $self, $c ) = @_; + local $c->namespace = $self->namespace; return $c->execute( $self->class, $self ); }