This did never work, has never worked, etc. Writing tests for the environment (to...
Tomas Doran [Tue, 10 Feb 2009 22:46:30 +0000 (22:46 +0000)]
t/lib/TestApp/Controller/Dump.pm

index 4b20f33..5ea3ba0 100644 (file)
@@ -10,8 +10,7 @@ sub default : Action Private {
 
 sub env : Action Relative {
     my ( $self, $c ) = @_;
-    $c->stash( env => \%ENV );
-    $c->forward('TestApp::View::Dump');
+    $c->forward('TestApp::View::Dump', [\%ENV]);
 }
 
 sub parameters : Action Relative {