silverstripe-cms/_config/routes.yml
2012-06-20 16:20:18 +02:00

15 lines
273 B
YAML

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