Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / system / tests / modules / system_test / system_test.routing.yml
index 579b5119cb93d19c9384dded1438fe3913ce4a46..b7cba071e16d33b80bf2f4e0ffe6524fc7c75a32 100644 (file)
@@ -196,3 +196,11 @@ system_test.echo_utf8:
     _controller: '\Drupal\system_test\Controller\SystemTestController::simpleEcho'
   requirements:
     _access: 'TRUE'
+
+system_test.custom_cache_control:
+  path: '/system-test/custom-cache-control'
+  defaults:
+    _title: 'Cacheable response with custom cache control'
+    _controller: '\Drupal\system_test\Controller\SystemTestController::getCacheableResponseWithCustomCacheControl'
+  requirements:
+    _access: 'TRUE'