I have a model hook for /licenses route which returns this.store.find('license'). But template still shows old list of licenses (not the one returned from server, which contains few licenses than those there in store). I want to forcefully update model. How can I do it using setupcontroller hook? I read somewhere that we can set model from setupController hook to forcefully update model each time the template is loaded.
0
votes