Right now you are removing leading / to all routes and when someone has a PlayInclude you are removing / between them.
Example:
I have routes file like this
-> /test/otherFile otherFile.routes
I have otherFile.routes file like this
GET /something/ controllers.examplecontroller
Result path will be:
/test/otherFilesomething
insted of
/test/otherFile/something
Right now you are removing leading / to all routes and when someone has a PlayInclude you are removing / between them. Example: I have routes file like this
-> /test/otherFile otherFile.routes
I have otherFile.routes file like thisGET /something/ controllers.examplecontroller
Result path will be:
/test/otherFilesomething
insted of/test/otherFile/something