Subject: | not setting the suffix right with a new path in config |
Date: | Mon, 13 Jun 2011 11:35:25 -0500 |
To: | bugs-catalyst-view-xslate [...] rt.cpan.org |
From: | Caleb Cushing <xenoterracide [...] gmail.com> |
trying to create the exact same xslate config as TT
default_view Xslate
<View::HTML>
INCLUDE_PATH root/templates
CATALYST_VAR c
DEBUG on
</View::HTML>
<View::Xslate>
suffix .tt
path [ root/templates ]
</View::Xslate>
however with this config I get this error from xslate
Couldn't render template "Text::Xslate: LoadError: Cannot find
'index.tx' (path: /home/ccushing/MyApp/root/templates) at
/home/ccushing/perl5/lib/perl5/Catalyst/View/Xslate.pm line 205
for further debug purposes this was in the dump of the config
"View::Xslate" => { path =>
["root/templates"], suffix => ".tt" },
--
Caleb Cushing
http://xenoterracide.com