mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 03:14:03 +03:00
13 lines
272 B
JavaScript
13 lines
272 B
JavaScript
|
import Route from '@ember/routing/route';
|
||
|
|
||
|
export default Route.extend({
|
||
|
model() {
|
||
|
return this.store.createRecord('integration');
|
||
|
},
|
||
|
|
||
|
deactivate() {
|
||
|
this._super(...arguments);
|
||
|
this.controller.integration.rollbackAttributes();
|
||
|
}
|
||
|
});
|