From: Kennedy Clark Date: Wed, 17 Feb 2010 18:48:22 +0000 (+0000) Subject: Convert to "new style" for stash X-Git-Tag: v5.8005~26 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=commitdiff_plain;h=766e64ba85058f2259d90ef19e0a0eb90d10b0bf Convert to "new style" for stash --- diff --git a/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod b/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod index 732165a..55fe750 100644 --- a/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod +++ b/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod @@ -136,7 +136,7 @@ following method: } # Set the template - $c->stash->{template} = 'books/formfu_create.tt2'; + $c->stash(template => 'books/formfu_create.tt2'); } @@ -473,7 +473,7 @@ bottom: } # 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 @@ Or you can proceed to write your own application, which is probably the 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 and delete the