open-nomad/ui/app/initializers/app-env.js
Alex Dadgar e5ec915ac3 sync
2017-09-19 10:08:23 -05:00

13 lines
316 B
JavaScript

export function initialize() {
const application = arguments[1] || arguments[0];
// Provides the app config to all templates
application.inject('controller', 'config', 'service:config');
application.inject('component', 'config', 'service:config');
}
export default {
name: 'app-config',
initialize,
};