Show config setting as a method call rather than a hask assignment
Tomas Doran [Tue, 12 Jan 2010 02:02:15 +0000 (02:02 +0000)]
lib/Catalyst/View/TT.pm

index 8cb0cf0..f8f4a8b 100644 (file)
@@ -289,7 +289,7 @@ something like this:
 
     use base 'Catalyst::View::TT';
 
-    __PACKAGE__->config->{DEBUG} = 'all';
+    __PACKAGE__->config(DEBUG => 'all');
 
 Now you can modify your action handlers in the main application and/or
 controllers to forward to your view class.  You might choose to do this