drapergeek/findit

View on GitHub
app/assets/javascripts/store.js.coffee

Summary

Maintainability
Test Coverage
# http://emberjs.com/guides/models/using-the-store/

Findit.Store = DS.Store.extend
  # Override the default adapter with the `DS.ActiveModelAdapter` which
  # is built to work nicely with the ActiveModel::Serializers gem.
  adapter: DS.ActiveModelAdapter

DS.ActiveModelAdapter.reopen
  namespace: 'api'