Roughing in ember-can: placeholders for strain mod

This commit is contained in:
Matthew Dillon 2015-04-22 11:44:25 -08:00
parent b337ca0ee4
commit ce40ef6071
7 changed files with 53 additions and 0 deletions

View file

@ -13,6 +13,7 @@ export default DS.Model.extend({
createdAt: DS.attr('date'),
updatedAt: DS.attr('date'),
deletedAt: DS.attr('date'),
author: DS.attr('number'),
totalMeasurements: DS.attr('number'),
fullName: Ember.computed('speciesName', 'strainName', function() {
return this.get('speciesName') + ' (' + this.get('strainName') + ')';