From 2389d1eff57791d0c769a48ec927692eb3dd4d39 Mon Sep 17 00:00:00 2001 From: Richard Simões Date: Sat, 10 Dec 2011 11:37:03 -0600 Subject: fix yaml --- lib/Dancer/Template/Xslate.pm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/Dancer/Template/Xslate.pm b/lib/Dancer/Template/Xslate.pm index c18aec2..151c7a5 100644 --- a/lib/Dancer/Template/Xslate.pm +++ b/lib/Dancer/Template/Xslate.pm @@ -68,15 +68,16 @@ In order to use this engine, use the template setting: This can be done in your config.yml file or directly in your app code with the B keyword. -You can configure L : +You can configure L: template: xslate engines: xslate: - cache_dir => "/www/../xslate_cache", - cache => 1, - module => - - Text::Xslate::Bridge::TT2 # to keep partial compatibility + cache_dir: .xslate_cache/ + cache: 1 + extension: tx # Dancer's default template extension is "tt" + module: + - Text::Xslate::Bridge::TT2Like # to keep partial compatibility with Template Toolkit =head1 SEE ALSO -- cgit 1.4.1