robotstxt_test.routing.yml in RobotsTxt 8
tests/modules/robotstxt_test/robotstxt_test.routing.yml
File
tests/modules/robotstxt_test/robotstxt_test.routing.ymlView source
- robotstxt_test.content:
- path: 'robots-test.txt'
- defaults:
- _controller: '\Drupal\robotstxt\Controller\RobotsTxtController::content'
- requirements:
- # The robots-text.txt page should be opened for all.
- _access: 'TRUE'