I have a page where I display a table from DS model and I have the option to remove or add. It works perfectly.
The issue I’m running into is, when I put this on a route (resource ‘client’ has header and some controls and route is under resource) it doesn’t work. For instance, I have multiple routes under the same resource. So on client.index I display the model and I have a delete button which fires properly on the REST and actually deletes the record (I’m using destroyRecord()). The problem is that is not updated on the table. Same happens when I add a new record. If I refresh the page the data is there but no changes are visible until I refresh.
I tried creating a jsbin with an example, but it only happens with the REST adapter.
Is there anything special I have to do for this kind of case? Perhaps access the data differently?