[Catalyst-commits] r13111 - Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial

xenoterracide at dev.catalyst.perl.org xenoterracide at dev.catalyst.perl.org
Tue Mar 30 12:33:26 GMT 2010


Author: xenoterracide
Date: 2010-03-30 13:33:26 +0100 (Tue, 30 Mar 2010)
New Revision: 13111

Modified:
   Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod
Log:
make note to use default_view

not setting the default_view if you name the view something other than TT can
cause problems with modules like AutoCRUD, better to tell people to be explicit
than to have them have cryptic errors down the road.

Modified: Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod
===================================================================
--- Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod	2010-03-30 12:33:17 UTC (rev 13110)
+++ Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod	2010-03-30 12:33:26 UTC (rev 13111)
@@ -381,8 +381,10 @@
 =item *
 
 The first "TT" tells the script to name the View module "TT.pm", which is a
-commonly used name for TT views.  (You can name it anything you want, such as
-"HTML.pm".)
+commonly used name for TT views.  You can name it anything you want, such as
+"HTML.pm". If you name it something other than TT.pm be sure to set the
+default_view in Hello.pm (See L<Catalyst::View::TT|Catalyst::View::TT> for
+more details on setting this).
 
 =item *
 




More information about the Catalyst-commits mailing list