added to_route method to Mojo::Path