redirect when a sub app is called without trailing