🐛 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:
kirrg001 2018-04-23 09:11:58 +02:00
parent 6ac00255e3
commit f63de38f36

View File

@ -11,7 +11,7 @@ module.exports = function previewController(req, res, next) {
var params = {
uuid: req.params.uuid,
status: 'all',
include: 'authors,tags'
include: 'author,authors,tags'
};
// Note: this is super similar to the config middleware used in channels