2014-05-15 05:56:43 +04:00
|
|
|
import ghostPaths from 'ghost/utils/ghost-paths';
|
|
|
|
|
2014-06-09 15:02:51 +04:00
|
|
|
var ghostPathsInitializer = {
|
2014-05-15 05:56:43 +04:00
|
|
|
name: 'ghost-paths',
|
2014-05-09 09:00:10 +04:00
|
|
|
after: 'store',
|
2014-05-15 05:56:43 +04:00
|
|
|
|
2014-06-23 22:35:39 +04:00
|
|
|
initialize: function (container, application) {
|
|
|
|
application.register('ghost:paths', ghostPaths(), { instantiate: false });
|
2014-05-15 05:56:43 +04:00
|
|
|
|
2014-06-23 22:35:39 +04:00
|
|
|
application.inject('route', 'ghostPaths', 'ghost:paths');
|
|
|
|
application.inject('model', 'ghostPaths', 'ghost:paths');
|
|
|
|
application.inject('controller', 'ghostPaths', 'ghost:paths');
|
2014-05-15 05:56:43 +04:00
|
|
|
}
|
2014-06-09 15:02:51 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
export default ghostPathsInitializer;
|