X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fmodules%2Fsystem_test%2Fsystem_test.routing.yml;fp=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fmodules%2Fsystem_test%2Fsystem_test.routing.yml;h=b7cba071e16d33b80bf2f4e0ffe6524fc7c75a32;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=579b5119cb93d19c9384dded1438fe3913ce4a46;hpb=aea91e65e895364e460983b890e295aa5d5540a5;p=yaffs-website diff --git a/web/core/modules/system/tests/modules/system_test/system_test.routing.yml b/web/core/modules/system/tests/modules/system_test/system_test.routing.yml index 579b5119c..b7cba071e 100644 --- a/web/core/modules/system/tests/modules/system_test/system_test.routing.yml +++ b/web/core/modules/system/tests/modules/system_test/system_test.routing.yml @@ -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'