As for me - it's too long. May be it's better to write middleware
content filter and rewrite all absolute URLs?


30.09.2013 16:06, Alexis Sukrieh пишет:
> Hi,
> 
> 2013/9/29 Henk van Oers <[email protected] <mailto:[email protected]>>
> 
> 
>     I do. I have a hook:
> 
>     hook before_template => sub {
>         my $tokens = shift;
>         $tokens->{prefix} = prefix;
>     };
> 
> 
> Hmm, should't it be better to use [% request.uri_base %] ?


-- 
Best Regards,
Nick Knutov
http://knutov.com
ICQ: 272873706
Voice: +7-904-84-23-130
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Reply via email to