Check for ending slash in route url and append if missing