Skip to content

Instantly share code, notes, and snippets.

@koriroys
Created February 13, 2015 10:48
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 koriroys/388ac4cff9f6aabc45ac to your computer and use it in GitHub Desktop.
Save koriroys/388ac4cff9f6aabc45ac to your computer and use it in GitHub Desktop.
specify model type
// 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