X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F07_Debugging.pod;h=eec897b19a2f95d513866e1baa797d4d3da6e509;hp=0ca6d5d4c4035b877a5297847e16011237a0d757;hb=1edbdee6a1bad3524a3d97c6daaae02b5109c1d2;hpb=ddfbd8506f744fe1dc407bdaa7a1e9211b2dd1d7 diff --git a/lib/Catalyst/Manual/Tutorial/07_Debugging.pod b/lib/Catalyst/Manual/Tutorial/07_Debugging.pod index 0ca6d5d..eec897b 100644 --- a/lib/Catalyst/Manual/Tutorial/07_Debugging.pod +++ b/lib/Catalyst/Manual/Tutorial/07_Debugging.pod @@ -125,7 +125,7 @@ you can obviously indent them if you prefer): my ($self, $c) = @_; $DB::single=1; - + # Retrieve all of the book records as book model objects and store in the # stash where they can be accessed by the TT template $c->stash->{books} = [$c->model('DB::Book')->all]; @@ -348,7 +348,7 @@ Otherwise, it returns undef and nothing will be printed. If you run into issues during the rendering of your template, it might be helpful to enable TT C options. You can do this in a Catalyst environment by adding a C line to the C<__PACKAGE__->config> -declaration in C: +declaration in C: __PACKAGE__->config({ TEMPLATE_EXTENSION => '.tt2',