13 lines
310 B
JavaScript
13 lines
310 B
JavaScript
import Ember from 'ember';
|
|
|
|
export default Ember.Route.extend({
|
|
model: function() {
|
|
return this.store.findAll('characteristic');
|
|
},
|
|
|
|
setupController: function(controller, model) {
|
|
controller.set('model', model);
|
|
controller.set('metaData', this.store.metadataFor('characteristic'));
|
|
},
|
|
|
|
});
|