[Dancer-users] autoredirect to path with trailing slash
mail at knutov.com
Thu Mar 1 09:38:52 CET 2012
I have a lot of routers with trailing slash, but visitors can manually
type them without trailing slashes.
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?
/cv should be redirected to /cv/
/contacts to /contacts/
/about to /about/
More information about the Dancer-users