2022-01-17 13:05:27 +03:00
|
|
|
import AdminRoute from 'ghost-admin/routes/admin';
|
2021-10-18 15:46:29 +03:00
|
|
|
import {inject as service} from '@ember/service';
|
|
|
|
|
2022-01-17 12:34:55 +03:00
|
|
|
export default class IntegrationsRoute extends AdminRoute {
|
|
|
|
@service settings;
|
2021-10-18 15:46:29 +03:00
|
|
|
|
|
|
|
setupController(controller) {
|
|
|
|
// kick off the background fetch of integrations so that we can
|
|
|
|
// show the screen immediately
|
|
|
|
controller.fetchIntegrations.perform();
|
2022-01-17 12:34:55 +03:00
|
|
|
}
|
2021-10-18 15:46:29 +03:00
|
|
|
|
|
|
|
buildRouteInfoMetadata() {
|
|
|
|
return {
|
|
|
|
titleToken: 'Settings - Integrations'
|
|
|
|
};
|
|
|
|
}
|
2022-01-17 12:34:55 +03:00
|
|
|
}
|