mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
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
This commit is contained in:
parent
51b78211c5
commit
eb261120fa
1 changed files with 1 additions and 9 deletions
|
@ -6,18 +6,10 @@ module.exports = {
|
||||||
routerManager: routerManager,
|
routerManager: routerManager,
|
||||||
|
|
||||||
get registry() {
|
get registry() {
|
||||||
return require('./registry');
|
return registry;
|
||||||
},
|
},
|
||||||
|
|
||||||
get helpers() {
|
get helpers() {
|
||||||
return require('./helpers');
|
return require('./helpers');
|
||||||
},
|
|
||||||
|
|
||||||
get CollectionRouter() {
|
|
||||||
return require('./CollectionRouter');
|
|
||||||
},
|
|
||||||
|
|
||||||
get TaxonomyRouter() {
|
|
||||||
return require('./TaxonomyRouter');
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue