You are here

csrf_race_test.routing.yml in Drupal 8

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.yml
View source
  1. csrf_race_test.csrftoken:
  2. path: '/csrf_race/get_csrf_token/{num}'
  3. defaults:
  4. _controller: '\Drupal\csrf_race_test\Controller\TestController::getCsrfToken'
  5. requirements:
  6. _access: 'TRUE'
  7. csrf_race_test.test:
  8. path: '/csrf_race/test'
  9. defaults:
  10. _controller: '\Drupal\csrf_race_test\Controller\TestController::testMethod'
  11. requirements:
  12. _access: 'TRUE'