[Catalyst-commits] r10979 - Catalyst-Plugin-Session/0.00/trunk/lib/Catalyst/Plugin

caelum at dev.catalyst.perl.org caelum at dev.catalyst.perl.org
Sat Jul 25 11:58:03 GMT 2009


Author: caelum
Date: 2009-07-25 11:58:03 +0000 (Sat, 25 Jul 2009)
New Revision: 10979

Modified:
   Catalyst-Plugin-Session/0.00/trunk/lib/Catalyst/Plugin/Session.pm
Log:
minor change that unfucks ::State::URI (provided by Helios)

Modified: Catalyst-Plugin-Session/0.00/trunk/lib/Catalyst/Plugin/Session.pm
===================================================================
--- Catalyst-Plugin-Session/0.00/trunk/lib/Catalyst/Plugin/Session.pm	2009-07-24 23:38:48 UTC (rev 10978)
+++ Catalyst-Plugin-Session/0.00/trunk/lib/Catalyst/Plugin/Session.pm	2009-07-25 11:58:03 UTC (rev 10979)
@@ -80,14 +80,14 @@
 sub prepare_action {
     my $c = shift;
 
+    $c->maybe::next::method(@_);
+
     if (    $c->config->{session}{flash_to_stash}
         and $c->sessionid
         and my $flash_data = $c->flash )
     {
         @{ $c->stash }{ keys %$flash_data } = values %$flash_data;
     }
-
-    $c->maybe::next::method(@_);
 }
 
 sub finalize_headers {




More information about the Catalyst-commits mailing list