silverstripe-cms/_config/routes.yml
Hamish Friedlander 2637e6d9b2 FIX Dont refer to framework module in config rules
Might be called sapphire instead, in which case routing rules
will end up in the wrong place
2012-08-28 15:46:33 +12:00

17 lines
283 B
YAML

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