Move all request state out of the engine into Request/Response.
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / View / Dump / Request.pm
index 5655b3f..97926ec 100644 (file)
@@ -5,7 +5,9 @@ use base qw[TestApp::View::Dump];
 
 sub process {
     my ( $self, $c ) = @_;
-    return $self->SUPER::process( $c, $c->request );
+    my $r = $c->request;
+    local $r->{env};
+    return $self->SUPER::process( $c, $r );
 }
 
 1;