silverstripe-cms/_config/routes.yml

14 lines
222 B
YAML

---
Name: modelascontrollerroutes
Before: '*'
---
Director:
rules:
'$URLSegment//$Action/$ID/$OtherID': 'ModelAsController'
---
Name: legacycmsroutes
After: '*'
---
Director:
rules:
'admin/cms': '->admin/pages'