specified index.json for gifts controller as wasnt recognising it as json