[dancer-users] Who is using [%prefix%] in templates?

Henk van Oers hvo.pm at xs4all.nl
Fri Oct 4 13:10:11 BST 2013


On Thu, 3 Oct 2013, Yanick Champoux wrote:
> On 13-09-29 09:07 AM, Henk van Oers wrote:
>> Is this a good candidate to implement in
>> https://metacpan.org/module/Dancer::Template::Abstract
>> as default Dancer inject like
>> qw(perl_version dancer_version settings request params vars session); ?
>
> I can see how it can be very useful in cases where you want to abstract the 
> prefix from the urls in the template, but I'm not sure that it's something 
> that people to often enough to warrant to always have it as part of the 
> defaults. Mostly considering how easy it is to add it via the hook like you 
> did.

OK.
Maybe something for Dancer::Cookbook or Advent calendar then.

Regards,
Henk van Oers


More information about the dancer-users mailing list