2014-05-14 20:56:43 -05:00
|
|
|
import ghostPaths from 'ghost/utils/ghost-paths';
|
|
|
|
|
2014-06-09 06:02:51 -05:00
|
|
|
var ghostPathsInitializer = {
|
2014-05-14 20:56:43 -05:00
|
|
|
name: 'ghost-paths',
|
2014-05-09 00:00:10 -05:00
|
|
|
after: 'store',
|
2014-05-14 20:56:43 -05:00
|
|
|
|
|
|
|
initialize: function (container) {
|
|
|
|
container.register('ghost:paths', ghostPaths(), {instantiate: false});
|
|
|
|
|
|
|
|
container.injection('route', 'ghostPaths', 'ghost:paths');
|
|
|
|
container.injection('model', 'ghostPaths', 'ghost:paths');
|
|
|
|
container.injection('controller', 'ghostPaths', 'ghost:paths');
|
|
|
|
}
|
2014-06-09 06:02:51 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
export default ghostPathsInitializer;
|