You are here

humanstxt.routing.yml in Humans.txt 2.x

Same filename and directory in other branches
  1. 8 humanstxt.routing.yml

File

humanstxt.routing.yml
View source
  1. humanstxt.admin_settings_form:
  2. path: '/admin/config/development/humanstxt'
  3. defaults:
  4. _form: '\Drupal\humanstxt\Form\HumansTxtAdminSettingsForm'
  5. _title: 'Humans.txt Settings'
  6. requirements:
  7. _permission: 'administer humans.txt'
  8. humanstxt.content:
  9. path: '/humans.txt'
  10. defaults:
  11. _controller: '\Drupal\humanstxt\Controller\HumansTxtController::content'
  12. requirements:
  13. # Open the access to the humans.txt file for all.
  14. _access: 'TRUE'