setup basics of user-filters-manager
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import DunlopAdapter from 'ember-cli-dunlop/adapters/application'
|
||||
|
||||
## Override the default adapter with the `DS.ActiveModelAdapter` which
|
||||
window.client_id ||= "client#{Math.round(Math.random() * 100000)}"
|
||||
Ember.$.ajaxPrefilter (options, oriOpt, jqXHR)->
|
||||
jqXHR.setRequestHeader 'client-id', window.client_id
|
||||
|
||||
export default DunlopAdapter.extend()
|
||||
Reference in New Issue
Block a user