You are here

robotstxt.routing.yml in RobotsTxt 8

File

robotstxt.routing.yml
View source
  1. robotstxt.admin_settings_form:
  2. path: '/admin/config/search/robotstxt'
  3. defaults:
  4. _form: '\Drupal\robotstxt\Form\RobotsTxtAdminSettingsForm'
  5. _title: 'RobotsTxt'
  6. requirements:
  7. _permission: 'administer robots.txt'
  8. robotstxt.content:
  9. path: '/robots.txt'
  10. defaults:
  11. _controller: '\Drupal\robotstxt\Controller\RobotsTxtController::content'
  12. _disable_route_normalizer: 'TRUE'
  13. requirements:
  14. # The robots.txt page should be opened for all.
  15. _access: 'TRUE'