
One thing that is not standard here is a serializer for branch, which uses @href as id. At this point branches don't have ids and ember-data needs one, so using @href is the easiest way.
8 lines
194 B
CoffeeScript
8 lines
194 B
CoffeeScript
`import Ember from 'ember'`
|
|
`import V2FallbackSerializer from 'travis/serializers/v2_fallback'`
|
|
|
|
Serializer = V2FallbackSerializer.extend
|
|
isNewSerializerAPI: true
|
|
|
|
`export default Serializer`
|