[dancer-users] template parameters are not working

John Stoffel john at stoffel.org
Tue Jan 19 16:05:05 GMT 2016


>>>>> "Andrew" == Andrew Beverley <andy at andybev.com> writes:

Andrew> On Tue, 2016-01-19 at 00:55 +0200, Kadir Beyazlı wrote:
>> But when I change their place (session definition first), it works:
>> 
>> session: YAML
>> engines:
>> session:
>> YAML:
>> session_dir: /home/kadir/dancer-sessions
>> 
>> template: "template_toolkit"
>> engines:
>> template:
>> template_toolkit:
>> start_tag: '<%'
>> end_tag:   '%>'

Andrew> You've got the engines key twice. You need to combine them:

This should be a bug, and Dancer should just fail when this happens.


More information about the dancer-users mailing list