silverstripe-cms/_config/routes.yml

21 lines
445 B
YAML
Raw Normal View History

---
Name: modelascontrollerroutes
After: '#coreroutes'
---
SilverStripe\Control\Director:
rules:
2016-08-10 06:08:39 +02:00
'': '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'