I use ember cli and I don't know how return reverse model (array). That my code with return model:
export default Ember.Route.extend({ model: function(params) { return this.store.find('category', params.category_id); }});
Aucun commentaire:
Enregistrer un commentaire