mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Fix partials in themes
closes #884 - changed init sequence of ghost and helpers
This commit is contained in:
parent
0ef99ad393
commit
59b57b84e0
1 changed files with 3 additions and 1 deletions
|
@ -223,7 +223,9 @@ function manageAdminAndTheme(req, res, next) {
|
||||||
// Expose the promise we will resolve after our pre-loading
|
// Expose the promise we will resolve after our pre-loading
|
||||||
ghost.loaded = loading.promise;
|
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
|
// ##Configuration
|
||||||
var oneYear = 31536000000;
|
var oneYear = 31536000000;
|
||||||
|
|
Loading…
Add table
Reference in a new issue