X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F09_AdvancedCRUD%2F09_FormFu.pod;h=f47528fab1a5109b3220eb18d2c75e19b83d217a;hp=732165ae9f80ddbb142700a9d70d865b550cdcc0;hb=4768184b3b277399116fbd53cae3697a9767fee5;hpb=aeaa7db5ec678d87f39c7e27f4c1fc7a95c6af56 diff --git a/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod b/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod index 732165a..f47528f 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 @@ -642,5 +642,5 @@ Please report any errors, issues or suggestions to the author. The most recent version of the Catalyst Tutorial can be found at L. -Copyright 2006-2008, Kennedy Clark, under Creative Commons License -(L). +Copyright 2006-2010, Kennedy Clark, under Creative Commons License +(L).