csrf_race_test.routing.yml
Same filename in other branches
File
-
core/
modules/ system/ tests/ modules/ csrf_race_test/ csrf_race_test.routing.yml
View 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'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.