model (params, transition) Object|Promisepublic
Defined in packages/ember-routing/lib/system/route.js:1405
A hook you can implement to convert the URL into the model for this route. App.Router.map(function() {
this.route('post', { path: '/posts/:post_id' });
});
The model for the post route is store.findRecord('post', params.post_id). By default, if your route has a dynamic segment ending in _id: The model class is determined from the segment (post_id's class is App.Post) The find method