From: Tomas Doran Date: Tue, 12 Jan 2010 02:02:15 +0000 (+0000) Subject: Show config setting as a method call rather than a hask assignment X-Git-Tag: v0.32~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a1b7968f7d2c6770ac6f72555ac00d6373b1bba1;hp=2844488fd64b15248c01c25d3202a4a81851bfba;p=catagits%2FCatalyst-View-TT.git Show config setting as a method call rather than a hask assignment --- diff --git a/lib/Catalyst/View/TT.pm b/lib/Catalyst/View/TT.pm index 8cb0cf0..f8f4a8b 100644 --- a/lib/Catalyst/View/TT.pm +++ b/lib/Catalyst/View/TT.pm @@ -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