Commit 0c250641 authored by gbyte.co's avatar gbyte.co

Add URL handling on incomplete URLs

parent 708561fc
......@@ -5,6 +5,20 @@ simple_sitemap.sitemap:
requirements:
_access: 'TRUE'
simple_sitemap.sitemaps:
path: '/sitemaps'
defaults:
_controller: '\Drupal\simple_sitemap\Controller\SimplesitemapController::getSitemap'
requirements:
_access: 'TRUE'
simple_sitemap.chunk_fallback:
path: '/sitemaps/{chunk_id}'
defaults:
_controller: '\Drupal\simple_sitemap\Controller\SimplesitemapController::getSitemap'
requirements:
_access: 'TRUE'
simple_sitemap.chunk:
path: '/sitemaps/{chunk_id}/sitemap.xml'
defaults:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment