Ghost/core/server/services/routing/helpers/index.js
kirrg001 803a325ade Renamed post-lookup to entry-lookup
refs #9866

- the static pages router uses the entry controller
- and the entry controller uses the lookup helper
- the lookup helper needs to either fetch static pages or posts
- v2 uses pages and posts controller
2018-10-18 19:41:07 +02:00

42 lines
727 B
JavaScript

module.exports = {
get entryLookup() {
return require('./entry-lookup');
},
get fetchData() {
return require('./fetch-data');
},
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');
}
};