You are here

redhen.routing.yml in RedHen CRM 8

File

redhen.routing.yml
View source
  1. redhen.dashboard:
  2. path: '/redhen'
  3. defaults:
  4. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  5. _title: 'CRM Dashboard'
  6. requirements:
  7. _permission: 'access redhen'
  8. redhen.structure:
  9. path: '/admin/structure/redhen'
  10. defaults:
  11. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  12. _title: 'RedHen CRM'
  13. requirements:
  14. _permission: 'administer redhen'
  15. redhen.config:
  16. path: '/admin/config/redhen'
  17. defaults:
  18. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  19. _title: 'RedHen CRM'
  20. requirements:
  21. _permission: 'administer redhen'
  22. redhen.config.admin_form:
  23. path: '/admin/config/redhen/general'
  24. defaults:
  25. _form: '\Drupal\redhen\Form\RedhenAdminSettingsForm'
  26. _title: 'General'
  27. requirements:
  28. _permission: 'administer redhen'