You are here

ip2country.routing.yml in IP-based Determination of a Visitor's Country 8

File

ip2country.routing.yml
View source
  1. ip2country.settings:
  2. path: '/admin/config/people/ip2country'
  3. defaults:
  4. _form: '\Drupal\ip2country\Form\Ip2CountrySettingsForm'
  5. _title: 'User location'
  6. requirements:
  7. _permission: 'administer ip2country'
  8. ip2country.update_database:
  9. path: '/admin/config/people/ip2country/update/{rir}'
  10. defaults:
  11. _controller: '\Drupal\ip2country\Controller\Ip2CountryController::updateDatabaseAction'
  12. _title: 'Update database'
  13. requirements:
  14. _permission: 'administer ip2country'
  15. ip2country.lookup:
  16. path: '/admin/config/people/ip2country/lookup/{ip_address}'
  17. defaults:
  18. _controller: '\Drupal\ip2country\Controller\Ip2CountryController::lookupAction'
  19. _title: 'Lookup IP address in database'
  20. requirements:
  21. _permission: 'administer ip2country'