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