Skip to content

Instantly share code, notes, and snippets.

@nerdyworm
Created February 18, 2013 01:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save nerdyworm/4974590 to your computer and use it in GitHub Desktop.
Save nerdyworm/4974590 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