Created
February 13, 2015 10:48
-
-
Save koriroys/388ac4cff9f6aabc45ac to your computer and use it in GitHub Desktop.
specify model type
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// app/serializers/feed.js | |
import DS from 'ember-data'; | |
export default DS.RESTSerializer.extend({ | |
typeForRoot: function() { | |
return this._super("micropost"); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment