vendredi 22 janvier 2016

Ember Custom Serializer not being called for the main route

My custom serializer works fine for routs like posts/1, posts/2, etc. But it is never called for posts/.

export default DS.RESTSerializer.extend({
  init() {
    console.log('init'); // never called for the main route

    this._super();
  }
});




Aucun commentaire:

Enregistrer un commentaire