mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
🐛 Fixed {{author}}
for post preview
- we still need to support the single author usage - author properties weren't accessible - added `author` include
This commit is contained in:
parent
6ac00255e3
commit
f63de38f36
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ module.exports = function previewController(req, res, next) {
|
||||||
var params = {
|
var params = {
|
||||||
uuid: req.params.uuid,
|
uuid: req.params.uuid,
|
||||||
status: 'all',
|
status: 'all',
|
||||||
include: 'authors,tags'
|
include: 'author,authors,tags'
|
||||||
};
|
};
|
||||||
|
|
||||||
// Note: this is super similar to the config middleware used in channels
|
// Note: this is super similar to the config middleware used in channels
|
||||||
|
|
Loading…
Reference in a new issue