From: Caleb Cushing Date: Tue, 30 Mar 2010 12:33:26 +0000 (+0000) Subject: make note to use default_view X-Git-Tag: v5.8005~15 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=commitdiff_plain;h=f588643fa29e325f98c4be9d714ca51439989639 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. --- diff --git a/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod b/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod index b9f30a3..6bd418c 100644 --- a/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod +++ b/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod @@ -381,8 +381,10 @@ The "view" keyword tells the create script that you are creating a view. =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 for +more details on setting this). =item *