On Sat, 10 May 2014, Yanick Champoux wrote:
[...]
2. route sanity check has been modified for existence, not falsehood.
The main impact is that the following now works:
prefix "/foo" => {
get '' => { ... }; # matches '/foo'!
get '/' => { ... }; # matches '/foo/'
get '/bar' => { ... }; matches '/foo/bar'
};
A note about the first route:
If you have a directory foo in your documentroot,
servers like apache can give you an intermal redirect to /foo/
I use this, so before I can use the empty route I will
have to change my deployment.
--
Henk
_______________________________________________
dancer-users mailing list
dancer-users@dancer.pm
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users