humanstxt.routing.yml in Humans.txt 2.x
Same filename and directory in other branches
File
humanstxt.routing.ymlView source
- humanstxt.admin_settings_form:
- path: '/admin/config/development/humanstxt'
- defaults:
- _form: '\Drupal\humanstxt\Form\HumansTxtAdminSettingsForm'
- _title: 'Humans.txt Settings'
- requirements:
- _permission: 'administer humans.txt'
-
- humanstxt.content:
- path: '/humans.txt'
- defaults:
- _controller: '\Drupal\humanstxt\Controller\HumansTxtController::content'
- requirements:
- # Open the access to the humans.txt file for all.
- _access: 'TRUE'