Getting error: You need to pass a model name to the store's modelFor method
问题 Using Ember 2.6.0 Have the following routes defined: Router.map(function() { this.route('brands'); this.route('brand', {path: '/brands/:brand_id'}); }); The model for brand is: export default Model.extend({ name: attr('string'), description: attr('string'), dateCreated: attr('date'), lastUpdated: attr('date'), regions: hasMany('region') }); And the model for region is: export default Model.extend({ name: attr('string'), dateCreated: attr('date'), lastUpdated: attr('date'), brand: belongsTo(