diff --git a/typo3/sysext/core/Documentation/Changelog/9.5/Feature-86160-PageTypeEnhancerForMappingTypeParameter.rst b/typo3/sysext/core/Documentation/Changelog/9.5/Feature-86160-PageTypeEnhancerForMappingTypeParameter.rst index 9ae2420f672b732fa1d9a86561734df609eb921d..1e9dee368c9dd6c39d7afeff14649c98666e2f08 100644 --- a/typo3/sysext/core/Documentation/Changelog/9.5/Feature-86160-PageTypeEnhancerForMappingTypeParameter.rst +++ b/typo3/sysext/core/Documentation/Changelog/9.5/Feature-86160-PageTypeEnhancerForMappingTypeParameter.rst @@ -32,10 +32,10 @@ Example TypoScript: jsonview = PAGE jsonview.typeNum = 26 + jsonview.config.disableAllHeaderCode = 1 + jsonview.config.additionalHeaders.10.header = Content-Type: application/json jsonview.10 = USER jsonview.10.userFunc = MyVendor\MyExtension\Controller\JsonPageController->renderAction - jsonview.10.config.disableAllHeaderCode = 1 - jsonview.10.config.additionalHeaders.10.header = Content-Type: application/json Now configure the Route Enhancer in your site's :file:`config.yaml` file like this: