Changing adapter property during runtime


#1

What would be the best way to access an initialized store adapter from a controller, route or custom/DOM event? I want to change one of its properties during runtime. In the past there a method called adapterFor in the store class. The current documentation does not display this method anymore.

My adapter is defined in app/adapters/application.js as follows.

import LFAdapter from 'ember-localforage-adapter/adapters/localforage';

export default LFAdapter;