I am having a method in my controller that sends an array to my view after it retrieves it from an API call. I want to be able to display the array in my view but the problem is