Closed millisami closed 10 years ago
The brunch generator doesn't create a file like store.coffee where one can add the ApplicationAdapter.
store.coffee
I created a file at config/store.coffee with content:
config/store.coffee
App.ApplicationAdapter = DS.RESTAdapter.extend host: 'http://localhost:4000' App.Store = DS.Store.extend adapter: App.ApplicationAdapter module.exports = App.ApplicationAdapter module.exports = App.Store
But its not picked up.
Where should I place this file and what to write in it?
Tapas automatically loads folders in this order. If you want to load something else, you'll need to manually require it.
require
The brunch generator doesn't create a file like
store.coffee
where one can add the ApplicationAdapter.I created a file at
config/store.coffee
with content:But its not picked up.
Where should I place this file and what to write in it?