Fix for breakage when the routes file has constraints (they will not be recognized by recognize_path)