This repository has been archived on 2025-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
hymenobacterdotinfo/app/pods/protected/characteristics/index/route.js

17 lines
410 B
JavaScript

import Ember from 'ember';
export default Ember.Route.extend({
currentUser: Ember.inject.service('session-account'),
model: function() {
return this.store.findAll('characteristic');
},
setupController: function(controller, model) {
controller.set('model', model);
this.get('currentUser.account').then((user) => {
controller.set('metaData', user.get('metaData'));
});
},
});