- Moved local $c->{namespace} set to Catalyst::Action::execute to fix forward from...
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Action.pm
index 9b2ea9f..e8b5230 100644 (file)
@@ -41,6 +41,7 @@ See L<Catalyst>.
 
 sub execute {    # Execute ourselves against a context
     my ( $self, $c ) = @_;
+    local $c->{namespace} = $self->namespace;
     return $c->execute( $self->class, $self );
 }