List Info

Thread: Catalyst::View::ClearSilver broken




Catalyst::View::ClearSilver broken
country flaguser name
United Kingdom
2007-08-13 07:24:29
You've used $self->config-> to get at config,
which breaks configuring
the view from MyApp->config and/or a config file.

Since you aren't providing your own new() method, you should
just

__PACKAGE__->mk_ro_accessors(qw(hdfpaths loadpaths
template_extension));

and use $self->hdfpaths instead of
$self->config-> etc.

Please can you fix this ASAP, you're the only one with maint
on the
View::ClearSilver namespace so now Catalyst's ClearSilver
support is broken
and you're the only one who can fix it 

-- 
      Matt S Trout       Need help with your Catalyst or
DBIx::Class project?
   Technical Director    Want a managed development or
deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at)
shadowcatsystems.co.uk for a quote
http://chainsawblues.vo
x.com/                    http://www.shadowcat.co.u
k/ 

_______________________________________________
Catalyst-dev mailing list
Catalyst-devlists.rawmode.org
http://lists.rawmode.org/mailman/listinfo/catalyst-dev


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )