mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -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,
|
||||
|
||||
get registry() {
|
||||
return require('./registry');
|
||||
return registry;
|
||||
},
|
||||
|
||||
get helpers() {
|
||||
return require('./helpers');
|
||||
},
|
||||
|
||||
get CollectionRouter() {
|
||||
return require('./CollectionRouter');
|
||||
},
|
||||
|
||||
get TaxonomyRouter() {
|
||||
return require('./TaxonomyRouter');
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue