mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 21:40:39 +03:00
Moved theme preview mw to new theme engine service
refs: bf0823c9a2
- continuing the work of splitting up the theme service into logical components
This commit is contained in:
parent
d3f20c52fd
commit
5458126422
@ -7,7 +7,7 @@ const errors = require('@tryghost/errors');
|
||||
const settingsCache = require('../../../server/services/settings/cache');
|
||||
const labs = require('../../../server/services/labs');
|
||||
const activeTheme = require('../theme-engine/active');
|
||||
const preview = require('./preview');
|
||||
const preview = require('../theme-engine/preview');
|
||||
|
||||
// ### Ensure Active Theme
|
||||
// Ensure there's a properly set & mounted active theme before attempting to serve a site request
|
||||
|
@ -1,7 +1,7 @@
|
||||
const should = require('should');
|
||||
const sinon = require('sinon');
|
||||
|
||||
const preview = require('../../../../core/frontend/services/themes/preview');
|
||||
const preview = require('../../../../core/frontend/services/theme-engine/preview');
|
||||
|
||||
describe('Theme Preview', function () {
|
||||
let req, previewString = '';
|
Loading…
Reference in New Issue
Block a user