doc.silverstripe.org/app/_config/routes.yml
Robbie Averill 55cd7c6fa0
Update docsviewer to include versioned "documentation index" page
* Add rewrite rules for previous routes
* Add version to matched routing parameters
2016-12-12 14:04:32 +13:00

14 lines
368 B
YAML

---
Name: docs-routes
After: framework/routes#coreroutes
---
Director:
rules:
'en//QuickFeedbackForm': 'DocumentationViewer'
'Security//$Action/$ID/$OtherID': 'Security'
'admin': 'AdminRootController'
'dev/buildcache/$Action': 'RebuildStaticCacheTask'
'dev': 'DevelopmentAdmin'
'': '->en/'
'$Lang/$Version/$Action': 'DocumentationViewer'