Ghost/core/frontend/services/routing/index.js
Naz eb261120fa Clened up routing module API from unused exports
refs https://linear.app/tryghost/issue/CORE-104/decouple-frontend-routing-events-from-urlserver-events

- CollectionRouter and TaxonomyRouter getters were exposed for no good reason. The less we expose the cleaner it is to understand possible dependencies the mocule creates
2021-10-19 07:29:09 +13:00

16 lines
319 B
JavaScript

const registry = require('./registry');
const RouterManager = require('./router-manager');
const routerManager = new RouterManager({registry});
module.exports = {
routerManager: routerManager,
get registry() {
return registry;
},
get helpers() {
return require('./helpers');
}
};