I am confused how controller, model and router work together in ember? Is it possible to demonstrate this through example?
What is this model defined in route, what is its relation to this model 'app/models/someModel.js'?
app/routes/someRoute.js:
export default Ember.Route.extend({
model: function() {
return something;
}
Thanks
Aucun commentaire:
Enregistrer un commentaire