View::TT, updated docs to show correct config syntax
Andy Grundman [Thu, 27 Oct 2005 14:53:06 +0000 (14:53 +0000)]
Changes
lib/Catalyst/View/TT.pm

diff --git a/Changes b/Changes
index 3a14158..1f6c623 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,10 +1,11 @@
 Revision history for Perl extension Catalyst::View::TT.
 
-0.14  - TBR
-    - Turn timer off by default, even for debug.
-       - removed superflous 'templates' inside 'root'
-       - made it possible to forward to the message action by
-         passing the message in the stash. (example)
+0.14  TBR
+        - Turn timer off by default, even for debug.
+       - removed superflous 'templates' inside 'root'
+       - made it possible to forward to the message action by
+         passing the message in the stash. (example)
+        - Updated docs to show correct config syntax.
 
 0.13  Fri Oct 07 13:30:00 2005
         - Fixed constructor
index 11b16af..0938f62 100644 (file)
@@ -26,7 +26,7 @@ Catalyst::View::TT - Template View Class
     MyApp->config({
         name     => 'MyApp',
         root     => $ROOT,
-        'MyApp::V::TT' => {
+        'V::TT' => {
             # any TT configurations items go here
             INCLUDE_PATH => [
               "$ROOT/templates/src", 
@@ -151,7 +151,7 @@ subclass).
     MyApp->config({
         name     => 'MyApp',
         root     => $ROOT,
-        'MyApp::V::TT' => {
+        'V::TT' => {
             INCLUDE_PATH => ["$ROOT/templates/src", "$ROOT/templates/lib"],
             PRE_PROCESS  => 'config/main',
             WRAPPER      => 'site/wrapper',
@@ -209,7 +209,7 @@ be referenced.
     MyApp->config({
         name     => 'MyApp',
         root     => $ROOT,
-        'MyApp::V::TT' => {
+        'V::TT' => {
             CATALYST_VAR => 'Catalyst',
         },
     });
@@ -243,7 +243,7 @@ You can suppress template profiling by setting the C<TIMER> configuration
 item to a false value.
 
     MyApp->config({
-        'MyApp::V::TT' => {
+        'V::TT' => {
             TIMER => 0,
         },
     });