ban.routing.yml 416 Bytes
Newer Older
1
ban.admin_page:
2
  path: '/admin/config/people/ban/{default_ip}'
3 4
  defaults:
    _form: '\Drupal\ban\Form\BanAdmin'
5
    _title: 'IP address bans'
6 7 8 9
    default_ip: ''
  requirements:
    _permission: 'ban IP addresses'

10
ban.delete:
11
  path: '/admin/config/people/ban/delete/{ban_id}'
12 13
  defaults:
    _form: '\Drupal\ban\Form\BanDelete'
14
    _title: 'Delete IP address'
15 16
  requirements:
    _permission: 'ban IP addresses'