Browse files

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.
  • Loading branch information...
1 parent 1ab117d commit f588643fa29e325f98c4be9d714ca51439989639 @xenoterracide xenoterracide committed Mar 30, 2010
Showing with 4 additions and 2 deletions.
  1. +4 −2 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 "", which is a
-commonly used name for TT views. (You can name it anything you want, such as
+commonly used name for TT views. You can name it anything you want, such as
+"". If you name it something other than be sure to set the
+default_view in (See L<Catalyst::View::TT|Catalyst::View::TT> for
+more details on setting this).
=item *

0 comments on commit f588643

Please sign in to comment.