Doing refactor for one to many relationship in route.