silverstripe-cms/_config/routes.yml
Damian Mooyman ab60850a28 BUG Fix incorrect route registration order
Remove redundant Link() override
2016-08-02 10:35:40 +12:00

22 lines
658 B
YAML

---
Name: modelascontrollerroutes
Before: '*'
After: '#rootroutes'
---
Director:
rules:
'': 'RootURLController'
'StaticExporter//$Action/$ID/$OtherID': 'StaticExporter'
'RebuildStaticCacheTask//$Action/$ID/$OtherID': 'RebuildStaticCacheTask'
'RemoveOrphanedPagesTask//$Action/$ID/$OtherID': 'RemoveOrphanedPagesTask'
'SiteTreeMaintenanceTask//$Action/$ID/$OtherID': 'SiteTreeMaintenanceTask'
'SiteTreeMaintenanceTask//$Action/$ID/$OtherID': 'SiteTreeMaintenanceTask'
'$URLSegment//$Action/$ID/$OtherID': 'ModelAsController'
---
Name: legacycmsroutes
After: '#adminroutes'
---
Director:
rules:
'admin/cms': '->admin/pages'