Skip to content

Instantly share code, notes, and snippets.

View haywoood's full-sized avatar
🏠
Working from home

Ryan Haywood haywoood

🏠
Working from home
View GitHub Profile
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