diff --git a/core/server/middleware/index.js b/core/server/middleware/index.js index be250d43b4..6776f767ae 100644 --- a/core/server/middleware/index.js +++ b/core/server/middleware/index.js @@ -89,6 +89,9 @@ function activateTheme() { return stackItem.route === '' && stackItem.handle.name === 'settingEnabled'; })); + // Tell the paths to update + config.paths.setActiveTheme(ghost); + // clear the view cache ghost.server.cache = {}; ghost.server.disable(ghost.server.get('activeTheme'));