remove the "useless localization of subroutine entry" warning by removing the useless...
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Action.pm
index 01c0564..9ff1dca 100644 (file)
@@ -38,7 +38,7 @@ use overload (
 
 sub dispatch {    # Execute ourselves against a context
     my ( $self, $c ) = @_;
-    local $c->namespace = $self->namespace;
+    local $c->{namespace} = $self->namespace;
     return $c->execute( $self->class, $self );
 }