Skip to content

Instantly share code, notes, and snippets.

@denzo
Last active November 26, 2017 02:15
Show Gist options
  • Save denzo/f9f9b375bd0767621b0cab435801651c to your computer and use it in GitHub Desktop.
Save denzo/f9f9b375bd0767621b0cab435801651c to your computer and use it in GitHub Desktop.
// app/models/action.js
import Model from 'ember-data/model';
import attr from 'ember-data/attr';
export default Model.extend({
label: attr('string'),
status: attr('action-status') // before it was attr('number')
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment