mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-30 14:22:07 +03:00
8612f3aaeb
- The main goal here is getting this settings related code out of the routing service as it really doesn't belong there - This settings file is used purely by the API to get and set files - its not really anything to do with actual routing - This file calls out to the bridge to do a reload, which helps decouple slightly - More refactoring is needed to get rid of the urlService dependency - Note this file is really similar to the redirects one, it would be good to merge them
22 lines
383 B
JavaScript
22 lines
383 B
JavaScript
module.exports = {
|
|
get bootstrap() {
|
|
return require('./bootstrap');
|
|
},
|
|
|
|
get registry() {
|
|
return require('./registry');
|
|
},
|
|
|
|
get helpers() {
|
|
return require('./helpers');
|
|
},
|
|
|
|
get CollectionRouter() {
|
|
return require('./CollectionRouter');
|
|
},
|
|
|
|
get TaxonomyRouter() {
|
|
return require('./TaxonomyRouter');
|
|
}
|
|
};
|