mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 16:14:25 +03:00
b904729576
closes #2956 - adds fileStorage to config passed to ember, and then grabs it in the relevant places.
14 lines
437 B
JavaScript
14 lines
437 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');
|
|
application.inject('component', 'config', 'ghost:config');
|
|
}
|
|
};
|
|
|
|
export default ConfigInitializer;
|