2017-12-15 21:39:18 +00:00
|
|
|
import Mixin from '@ember/object/mixin';
|
2017-09-28 17:59:59 +00:00
|
|
|
import notifyError from 'nomad-ui/utils/notify-error';
|
|
|
|
|
|
|
|
export default Mixin.create({
|
|
|
|
model() {
|
|
|
|
return this._super(...arguments).catch(notifyError(this));
|
|
|
|
},
|
|
|
|
});
|