1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

Use computed macros

This commit is contained in:
zinyando 2016-07-28 15:17:14 +02:00
parent ab94dabbd2
commit bb89ad90f2
11 changed files with 57 additions and 142 deletions

View file

@ -17,8 +17,9 @@ export default Ember.Controller.extend(NotifierMixin, {
actions: {
save() {
this.get('orgService').save(this.model);
this.showNotification('Saved');
return this.get('orgService').save(this.model).then(() => {
this.showNotification('Saved');
});
}
}
});