0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/frontend/services/rendering/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

33 lines
583 B
JavaScript

module.exports = {
get renderEntries() {
return require('./render-entries');
},
get formatResponse() {
return require('./format-response');
},
get renderEntry() {
return require('./render-entry');
},
get renderer() {
return require('./renderer');
},
get templates() {
return require('./templates');
},
get secure() {
return require('./secure');
},
get handleError() {
return require('./error');
},
get context() {
return require('./context');
}
};