ban.routing.yml 416 B

12345678910111213141516
  1. ban.admin_page:
  2. path: '/admin/config/people/ban/{default_ip}'
  3. defaults:
  4. _form: '\Drupal\ban\Form\BanAdmin'
  5. _title: 'IP address bans'
  6. default_ip: ''
  7. requirements:
  8. _permission: 'ban IP addresses'
  9. ban.delete:
  10. path: '/admin/config/people/ban/delete/{ban_id}'
  11. defaults:
  12. _form: '\Drupal\ban\Form\BanDelete'
  13. _title: 'Delete IP address'
  14. requirements:
  15. _permission: 'ban IP addresses'