651c0b2c33
Whilst we tried to do this with the smallest amount of changes possible, our acceptance tests for trying to submit a blank form started failing due to usage of `destroyRecord`, its seems that the correct way to achieve the same thing is to use `rollbackAttributes` instead. We changed that here and the tests pass once again. Furture work related to this will involve change the rest of the UI where we use `destroyRecord` to achieve the same thing, to use `rollbackAttributes` instead
9 lines
163 B
JavaScript
9 lines
163 B
JavaScript
import Controller from '@ember/controller';
|
|
export default Controller.extend({
|
|
actions: {
|
|
route: function() {
|
|
this.send(...arguments);
|
|
},
|
|
},
|
|
});
|