Remove trailing slashes from routes.