mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
13 lines
370 B
JavaScript
13 lines
370 B
JavaScript
|
var ConfigInitializer = {
|
||
|
name: 'config',
|
||
|
|
||
|
initialize: function (container, application) {
|
||
|
application.register('ghost:config', application.get('config'), {instantiate: false});
|
||
|
|
||
|
application.inject('route', 'config', 'ghost:config');
|
||
|
application.inject('controller', 'config', 'ghost:config');
|
||
|
}
|
||
|
};
|
||
|
|
||
|
export default ConfigInitializer;
|