You are here

test_automatic_updates.routing.yml in Automatic Updates 8

tests/modules/test_automatic_updates/test_automatic_updates.routing.yml

File

tests/modules/test_automatic_updates/test_automatic_updates.routing.yml
View source
  1. test_automatic_updates.json_test_controller:
  2. path: '/automatic_updates/test-json'
  3. defaults:
  4. _controller: '\Drupal\test_automatic_updates\Controller\JsonTestController::json'
  5. _title: 'JSON'
  6. requirements:
  7. _access: 'TRUE'
  8. test_automatic_updates.json_test_denied_controller:
  9. path: '/automatic_updates/test-json-denied'
  10. defaults:
  11. _controller: '\Drupal\test_automatic_updates\Controller\JsonTestController::json'
  12. _title: 'JSON'
  13. requirements:
  14. _access: 'FALSE'
  15. test_automatic_updates.modified_files:
  16. path: '/automatic_updates/modified-files/{project_type}/{extension}'
  17. defaults:
  18. _controller: '\Drupal\test_automatic_updates\Controller\ModifiedFilesController::modified'
  19. _title: 'Modified Files'
  20. requirements:
  21. _access: 'TRUE'
  22. test_automatic_updates.inplace-update:
  23. path: '/test_automatic_updates/in-place-update/{project}/{type}/{from}/{to}'
  24. defaults:
  25. _title: 'Update'
  26. _controller: '\Drupal\test_automatic_updates\Controller\InPlaceUpdateController::update'
  27. requirements:
  28. _access: 'TRUE'
  29. options:
  30. no_cache: 'TRUE'