[Catalyst-commits] r12930 - Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD

hkclark at dev.catalyst.perl.org hkclark at dev.catalyst.perl.org
Wed Feb 17 18:48:22 GMT 2010


Author: hkclark
Date: 2010-02-17 18:48:22 +0000 (Wed, 17 Feb 2010)
New Revision: 12930

Modified:
   Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod
Log:
Convert to "new style" for stash

Modified: Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod
===================================================================
--- Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod	2010-02-17 17:41:34 UTC (rev 12929)
+++ Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod	2010-02-17 18:48:22 UTC (rev 12930)
@@ -136,7 +136,7 @@
         }
         
         # Set the template
-        $c->stash->{template} = 'books/formfu_create.tt2';
+        $c->stash(template => 'books/formfu_create.tt2');
     }
 
 
@@ -473,7 +473,7 @@
         }
     
         # Set the template
-        $c->stash->{template} = 'books/formfu_create.tt2';
+        $c->stash(template => 'books/formfu_create.tt2');
     }
 
 Most of this code should look familiar to what we used in the 
@@ -580,7 +580,7 @@
 real reason you worked through this Tutorial in the first place.
 
 
-=head2  Config::General Config for this tutorial
+=head2 Config::General Config for this tutorial
 
 If you are having difficulty with YAML config above, please save the
 below into the file C<formfu_create.conf> and delete the




More information about the Catalyst-commits mailing list