Move all request state out of the engine into Request/Response.
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / View / Dump / Env.pm
index d713b0e..08d938c 100644 (file)
@@ -5,7 +5,7 @@ use base qw[TestApp::View::Dump];
 
 sub process {
     my ( $self, $c ) = @_;
-    my $env = $c->engine->env;
+    my $env = $c->stash->{env};
     return $self->SUPER::process($c, {
         map { ($_ => $env->{$_}) }
         grep { $_ ne 'psgi.input' }