fix index endpoint on rails characters controller