csrf_race_test.routing.yml in Drupal 8
Same filename and directory in other branches
core/modules/system/tests/modules/csrf_race_test/csrf_race_test.routing.yml
File
core/modules/system/tests/modules/csrf_race_test/csrf_race_test.routing.ymlView source
- csrf_race_test.csrftoken:
- path: '/csrf_race/get_csrf_token/{num}'
- defaults:
- _controller: '\Drupal\csrf_race_test\Controller\TestController::getCsrfToken'
- requirements:
- _access: 'TRUE'
- csrf_race_test.test:
- path: '/csrf_race/test'
- defaults:
- _controller: '\Drupal\csrf_race_test\Controller\TestController::testMethod'
- requirements:
- _access: 'TRUE'