silverstripe-cms/_config/routes.yml
2017-02-28 11:30:22 +11:00

17 lines
543 B
YAML

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