mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Removed completed TODO for helper init
refs:9d7049cd3f
- The helper service refactor I did a little while back moved this to a better location:9d7049cd3f (diff-81327b09890d6df7b87046cfdfa924f5f03c51221bf29980a015a30bee6d1884R134)
- But I forgot to clean up. Removing the commented block and now completed TODO
This commit is contained in:
parent
fa03052187
commit
95d4111d58
1 changed files with 0 additions and 8 deletions
|
@ -118,14 +118,6 @@ module.exports = function setupSiteApp(options = {}) {
|
|||
// Serve blog media using the storage adapter
|
||||
siteApp.use(STATIC_MEDIA_URL_PREFIX, labs.enabledMiddleware('mediaAPI'), storage.getStorage('media').serve());
|
||||
|
||||
// @TODO find this a better home
|
||||
// We do this here, at the top level, because helpers require so much stuff.
|
||||
// Moving this to being inside themes, where it probably should be requires the proxy to be refactored
|
||||
// Else we end up with circular dependencies
|
||||
// themeEngine.loadCoreHelpers();
|
||||
// themeEngine.registerHandlebarsHelpers();
|
||||
// debug('Helpers done');
|
||||
|
||||
// Global handling for member session, ensures a member is logged in to the frontend
|
||||
siteApp.use(membersService.middleware.loadMemberSession);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue