mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
13 lines
427 B
JavaScript
13 lines
427 B
JavaScript
|
import ghostPaths from 'ghost/utils/ghost-paths';
|
||
|
|
||
|
export default {
|
||
|
name: 'ghost-paths',
|
||
|
|
||
|
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');
|
||
|
}
|
||
|
};
|