[Catalyst-commits] r12616 - Catalyst-View-TT/trunk/lib/Catalyst/View
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Tue Jan 12 02:02:15 GMT 2010
Author: t0m
Date: 2010-01-12 02:02:15 +0000 (Tue, 12 Jan 2010)
New Revision: 12616
Modified:
Catalyst-View-TT/trunk/lib/Catalyst/View/TT.pm
Log:
Show config setting as a method call rather than a hask assignment
Modified: Catalyst-View-TT/trunk/lib/Catalyst/View/TT.pm
===================================================================
--- Catalyst-View-TT/trunk/lib/Catalyst/View/TT.pm 2010-01-12 01:30:26 UTC (rev 12615)
+++ Catalyst-View-TT/trunk/lib/Catalyst/View/TT.pm 2010-01-12 02:02:15 UTC (rev 12616)
@@ -289,7 +289,7 @@
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
More information about the Catalyst-commits
mailing list