mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 09:52:06 +03:00
803a325ade
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
42 lines
727 B
JavaScript
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');
|
|
}
|
|
};
|