Working on deprecations
This commit is contained in:
parent
e91a283680
commit
7696b7008f
12 changed files with 29 additions and 18 deletions
|
@ -3,5 +3,11 @@ import Ember from 'ember';
|
|||
export default Ember.Route.extend({
|
||||
model: function() {
|
||||
return this.store.findAll('species');
|
||||
}
|
||||
},
|
||||
|
||||
setupController: function(controller, model) {
|
||||
controller.set('model', model);
|
||||
controller.set('metaData', this.store.metadataFor('species'));
|
||||
},
|
||||
|
||||
});
|
||||
|
|
Reference in a new issue