# http://emberjs.com/guides/models/defining-a-store/
DS.RESTAdapter.reopen
  namespace: 'supplier'

Qsupplier.App.ApplicationSerializer = DS.ActiveModelSerializer

Qsupplier.App.CustomAdapter = DS.RESTAdapter.extend

  # user underscored paths
  pathForType: (type)->
    decamelized = Ember.String.decamelize(type)
    Ember.String.pluralize(decamelized)
Qsupplier.App.Store = DS.Store.extend
  revision: 13
  adapter: Qsupplier.App.CustomAdapter
