[Catalyst-commits] r9278 - Catalyst-Runtime/5.80/trunk/t/lib/TestApp/Controller

t0m at dev.catalyst.perl.org t0m at dev.catalyst.perl.org
Tue Feb 10 22:46:30 GMT 2009


Author: t0m
Date: 2009-02-10 22:46:30 +0000 (Tue, 10 Feb 2009)
New Revision: 9278

Modified:
   Catalyst-Runtime/5.80/trunk/t/lib/TestApp/Controller/Dump.pm
Log:
This did never work, has never worked, etc. Writing tests for the environment (to show up the FCGI thing discussed in channel the other day) now works in the obvious way

Modified: Catalyst-Runtime/5.80/trunk/t/lib/TestApp/Controller/Dump.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/t/lib/TestApp/Controller/Dump.pm	2009-02-10 22:46:23 UTC (rev 9277)
+++ Catalyst-Runtime/5.80/trunk/t/lib/TestApp/Controller/Dump.pm	2009-02-10 22:46:30 UTC (rev 9278)
@@ -10,8 +10,7 @@
 
 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 {




More information about the Catalyst-commits mailing list