You are here

visitors_geoip.routing.yml in Visitors 8.2

File

visitors_geoip.routing.yml
View source
  1. visitors.countries:
  2. path: '/visitors/countries'
  3. defaults:
  4. _controller: '\Drupal\visitors\Controller\Report\Countries::display'
  5. _title: 'Countries'
  6. requirements:
  7. _permission: 'access visitors'
  8. visitors.cities:
  9. path: '/visitors/countries/{country}'
  10. defaults:
  11. _controller: '\Drupal\visitors\Controller\Report\Cities::display'
  12. _title: 'City'
  13. requirements:
  14. _permission: 'access visitors'
  15. visitors.city_hits:
  16. path: '/visitors/countries/{country}/{city}'
  17. defaults:
  18. _controller: '\Drupal\visitors\Controller\Report\CityHits::display'
  19. _title: 'View city hits'
  20. requirements:
  21. _permission: 'access visitors'