15 lines
512 B
CoffeeScript
15 lines
512 B
CoffeeScript
#App.ApplicationSerializer = DS.ActiveModelSerializer
|
|
|
|
App.ApplicationSerializer = DS.JSONAPISerializer.extend
|
|
keyForAttribute: (attr, method)-> attr
|
|
#App.ApplicationStore = DS.Store
|
|
#adapter: DS.ActiveModelAdapter.extend
|
|
#namespace: 'supplier'
|
|
## user underscored paths
|
|
#pathForType: (type)->
|
|
#Ember.String.pluralize(Ember.String.decamelize(type))
|
|
#App.ApplicationAdapter = DS.ActiveModelAdapter.extend
|
|
# namespace: 'supplier'
|
|
# headers:
|
|
# "Accept": "application/json, text/javascript; q=0.01"
|