0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/frontend/services/routing/index.js
Hannah Wolfe 08479f3816
Moved routing helpers to rendering service
- The helpers folder was full of things used for rendering pages
- It belongs as its own service so that we can see what it really does
2022-04-05 20:12:20 +01:00

11 lines
254 B
JavaScript

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