summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorRichard Simões <rsimoes@cpan.org>2011-12-10 11:37:03 -0600
committerRichard Simões <rsimoes@cpan.org>2011-12-10 11:37:03 -0600
commit2389d1eff57791d0c769a48ec927692eb3dd4d39 (patch)
treedaec8acebc6d02c9726e3114967c38bd9ae7111c /lib
parentbetter approach to setting relative path of template (diff)
downloaddancer-template-xslate-2389d1eff57791d0c769a48ec927692eb3dd4d39.tar.gz
fix yaml
Diffstat (limited to 'lib')
-rw-r--r--lib/Dancer/Template/Xslate.pm11
1 files 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<set> keyword.
 
-You can configure L<Text::Xslate> :
+You can configure L<Text::Xslate>:
 
     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