[Dancer-users] autoredirect to path with trailing slash

sawyer x xsawyerx at gmail.com
Sun Mar 4 06:53:15 CET 2012


On Thu, Mar 1, 2012 at 10:38 AM, Nick Knutov <mail at knutov.com> wrote:

> Hello all,
>

Hey Nick! :)

Is it possible to make simple autoredirect to the same path with trailing
> slash if current router does not exists and router with the same path plus
> trailing slash exists?
>

This could probably do it very cleanly for you:
https://metacpan.org/module/Plack::Middleware::Rewrite
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20120304/84d15367/attachment.htm>


More information about the Dancer-users mailing list