2011/10/3 David Precious <davidp@preshweb.co.uk>:
On Monday 03 October 2011 17:30:37 Alexis Sukrieh wrote:
Changing the template engine to "template_toolkit" simply changes the error message to: Yeah, the syntax changed, you should do the following in your config:
template: "toolkit"
I'm not sure I really like the change from Dancer::Template::TemplateToolkit to Dancer::Template::Toolkit; the logical layout is a module under the Dancer::Template namespace named after the templating engine it uses, i.e. "Dancer::Template::EngineName" - e.g. Dancer::Template::TemplateToolkit, Dancer::Template::HTMLTemplate, etc. Using just "toolkit" seems a bit wrong to me - what do you think?
Fair enough, I'll change it back to TemplateToolkit. Also, I plan to remove our Template::Simple engine in dancer2 in favor of Template::Tiny.