silverstripe-cms/_config/routes.yml
2016-08-10 16:09:23 +12:00

19 lines
545 B
YAML

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