On Mar 07 2008, Jonathan Rockway wrote:
> * On Fri, Mar 07 2008, Matthias Zeichmann wrote:
> > C:V:TT behaves exactly the same way [0] and i suspect its not the only
> > view that does
> >
> > my $template = $c->stash->{template}
> > || $c->action . $self->config->{TEMPLATE_EXTENSION};
>
> This is really the only thing that makes sense.
It would make more sense if it was a configuration option of the
template engine itself. Then you wouldn't need the extension when
putting the template in the stash and things like
[% INCLUDE "path/to/my/template.tt2" %]
wouldn't need to specify the ugly extension either.
--
Rick Delaney
[EMAIL PROTECTED]
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/