silverstripe-cms/_config/routes.yml
2016-08-02 11:45:34 +12:00

19 lines
441 B
YAML

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