silverstripe-cms/_config/routes.yml
2023-01-17 12:31:51 +13:00

21 lines
445 B
YAML

---
Name: modelascontrollerroutes
After: '#coreroutes'
---
SilverStripe\Control\Director:
rules:
'': 'SilverStripe\CMS\Controllers\RootURLController'
---
Name: legacycmsroutes
---
SilverStripe\Control\Director:
rules:
'admin/cms': '->admin/pages'
---
Name: modelascontrollercatchallroute
After: '*'
---
SilverStripe\Control\Director:
rules:
'$URLSegment//$Action/$ID/$OtherID': 'SilverStripe\CMS\Controllers\ModelAsController'