Ember2 refactor progress

This commit is contained in:
2015-08-04 18:25:13 +02:00
parent 11578b9aef
commit d4a1052761
36 changed files with 71 additions and 75 deletions
@@ -7,6 +7,8 @@ App.Employee= DS.Model.extend Ember.Validations.Mixin,
color: attr 'string', defaultValue: '#3a87ad'
employee_shifts: DS.hasMany('employee-shift')
isManager: -> @get('manager')
validations:
name: {presence: true}
email: {format: /.+@.+\..{2,4}/}