You are here

redirect_404.routing.yml in Redirect 8

modules/redirect_404/redirect_404.routing.yml

File

modules/redirect_404/redirect_404.routing.yml
View source
  1. redirect_404.fix_404:
  2. path: '/admin/config/search/redirect/404'
  3. defaults:
  4. _title: 'Fix 404 pages'
  5. _form: '\Drupal\redirect_404\Form\RedirectFix404Form'
  6. requirements:
  7. _permission: 'administer redirects'
  8. redirect_404.ignore_404:
  9. path: '/admin/config/search/redirect/404/ignore'
  10. defaults:
  11. _controller: '\Drupal\redirect_404\Controller\Fix404IgnoreController::ignorePath'
  12. requirements:
  13. _permission: 'administer redirect settings'
  14. _csrf_token: 'TRUE'