caf8f83cd4
* rename download service file * rename file again * add download-file service to engine * refactor download button to use service * refactor download service * finish refactor download service, make arg order consistent: filename, content, extension * add download button to key details * fix flaky test?
31 lines
658 B
JavaScript
31 lines
658 B
JavaScript
import Engine from 'ember-engines/engine';
|
|
import loadInitializers from 'ember-load-initializers';
|
|
import Resolver from './resolver';
|
|
import config from './config/environment';
|
|
|
|
const { modulePrefix } = config;
|
|
/* eslint-disable ember/avoid-leaking-state-in-ember-objects */
|
|
const Eng = Engine.extend({
|
|
modulePrefix,
|
|
Resolver,
|
|
dependencies: {
|
|
services: [
|
|
'auth',
|
|
'download',
|
|
'flash-messages',
|
|
'namespace',
|
|
'path-help',
|
|
'router',
|
|
'store',
|
|
'version',
|
|
'wizard',
|
|
'secret-mount-path',
|
|
],
|
|
externalRoutes: ['secrets'],
|
|
},
|
|
});
|
|
|
|
loadInitializers(Eng, modulePrefix);
|
|
|
|
export default Eng;
|