update posts api
This commit is contained in:
parent
3532c7721a
commit
3750a56f98
|
@ -194,7 +194,7 @@ class PostController extends PageController
|
|||
'post' => $entity->getId(),
|
||||
'slug' => $entity->getSlug(),
|
||||
], UrlGeneratorInterface::ABSOLUTE_URL),
|
||||
'content' => $parser->transformMarkdown($entity->getContent()),
|
||||
'content' => $entity->getContent(),
|
||||
'categories' => call_user_func(function () use ($entity) {
|
||||
foreach ($entity->getCategories() as $category) {
|
||||
if ($category->getIsActive()) {
|
||||
|
|
Loading…
Reference in a new issue