Hi Andrew

On Tue, Jan 19, 2016 at 1:17 AM, Andrew Beverley <[email protected]> wrote:
> 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:   '%>'
>
> You've got the engines key twice. You need to combine them:
>
> engines:
>   session:
>     YAML:
>       session_dir: /home/kadir/dancer-sessions
>   template:
>     template_toolkit:
>       start_tag: '<%'
>       end_tag:   '%>'
>
[KB] You are right. For 3 days I am challenging with this issue. I was
think that "engines" parameter should be defined for each. This caused
overriding earlier definitions. Now it is working :) It is a big
coincidence that I faced this problem when you updated
TemplateToolkit.pm which made me thinking if this update was he reason
of problem :). But thanks to this problem, I completely debugged core
files of Dancer2.

> _______________________________________________
> dancer-users mailing list
> [email protected]
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users



-- 
Kadir Beyazlı
Computer Engineer
GSM : +90 535 821 50 00
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Reply via email to