You are here

ape_test.routing.yml in Advanced Page Expiration 8

ape_test/ape_test.routing.yml

File

ape_test/ape_test.routing.yml
View source
  1. ape.redirect.301:
  2. path: '/ape_redirect_301'
  3. defaults:
  4. _title: 'ape redirect 301'
  5. _controller: '\Drupal\ape_test\Controller\ApeTestController::redirect301'
  6. requirements:
  7. _access: 'TRUE'
  8. ape.redirect.302:
  9. path: '/ape_redirect_302'
  10. defaults:
  11. _title: 'ape redirect 302'
  12. _controller: '\Drupal\ape_test\Controller\ApeTestController::redirect302'
  13. requirements:
  14. _access: 'TRUE'
  15. ape.redirect.landing:
  16. path: '/ape_redirect_landing'
  17. defaults:
  18. _title: 'ape redirect landing page'
  19. _controller: '\Drupal\ape_test\Controller\ApeTestController::content'
  20. requirements:
  21. _access: 'TRUE'
  22. ape.alternative:
  23. path: '/ape_alternative'
  24. defaults:
  25. _title: 'ape redirect landing page'
  26. _controller: '\Drupal\ape_test\Controller\ApeTestController::content'
  27. requirements:
  28. _access: 'TRUE'
  29. ape.exclude:
  30. path: '/ape_exclude'
  31. defaults:
  32. _title: 'ape redirect landing page'
  33. _controller: '\Drupal\ape_test\Controller\ApeTestController::content'
  34. requirements:
  35. _access: 'TRUE'