Fix typo in index method on rest dingo contrller