mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
Fix partials in themes
closes #884 - changed init sequence of ghost and helpers
This commit is contained in:
parent
0ef99ad393
commit
59b57b84e0
@ -223,7 +223,9 @@ function manageAdminAndTheme(req, res, next) {
|
||||
// Expose the promise we will resolve after our pre-loading
|
||||
ghost.loaded = loading.promise;
|
||||
|
||||
when.all([ghost.init(), helpers.loadCoreHelpers(ghost)]).then(function () {
|
||||
when(ghost.init()).then(function () {
|
||||
return helpers.loadCoreHelpers(ghost);
|
||||
}).then(function () {
|
||||
|
||||
// ##Configuration
|
||||
var oneYear = 31536000000;
|
||||
|
Loading…
Reference in New Issue
Block a user