[Dancer-users] messed up routes

Matthew Vickers mvickers at quispiam.com
Thu Oct 20 06:46:13 CEST 2011

On 20/10/11 2:51 PM, Mr. Puneet Kishor wrote:
> Suggestions? I am serving about 10 or 12 different apps using Starman proxied behind Apache2, if that is any help.
Hi Puneet,

Have you tried setting the layout in the template call ?


template 'video_mov', \%template_opts, { layout =>  'main_video' };


template 'presentation_slides', \%template_opts, { layout =>  layout 'main_presentation' };

This is they way I tend to do it, albeit not behind Apache, and have not 
had any troubles thus far.



More information about the Dancer-users mailing list