14 Dec
2010
14 Dec
'10
8:55 p.m.
On 14/12/2010 20:35, ambs wrote:
Hello.
I am starting with dancer. Installed, run dancer -a, and changed a template to include some variables:
.. <div><% sidebar %></div> ..
And in the rule, I have
get '/' => sub { template 'index' => { 'sidebar' => 'bar', }; };
But the template is, still, empty. I am not sure where to debug this.. any hint will be welcome :)
I am running it under Fastcgi. An apache restart was needed. Probably a good idea to stick to the standalone server while in development :) Cheers ambs