Skip to content

Instantly share code, notes, and snippets.

@haywoood
Forked from nerdyworm/store.coffee
Created February 18, 2013 01:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haywoood/4974633 to your computer and use it in GitHub Desktop.
Save haywoood/4974633 to your computer and use it in GitHub Desktop.
serializer = DS.JSONSerializer.create()
serializer.configure 'App.Model',
sideloadAs: 'models'
App.RestAdaptor = DS.RESTAdapter.extend
serializer: serializer
App.Store = DS.Store.extend
adapter: App.RestAdaptor
revision: 11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment