[Catalyst] Re: Views and escaping HTML
    Tomas Doran 
    bobtfish at bobtfish.net
       
    Thu Apr  1 10:19:54 GMT 2010
    
    
  
Ovid wrote:
>   package Veure::View::HTML;
> 
>   use Modern::Perl;
>   use parent 'Catalyst::View::TT';
> 
>   __PACKAGE__->config(
>     TEMPLATE_CLASS     => 'Template::HTML',
>     TEMPLATE_EXTENSION => '.tt',
>     WRAPPER            => 'site/wrapper',
>   );
> However, that doesn't work because the template class is hard-coded into Catalyst::View::TT.
Patch welcome for doing that :)
Cheers
t0m
    
    
More information about the Catalyst
mailing list