silverstripe-cms/_config/routes.yml

22 lines
658 B
YAML
Raw Normal View History

---
Name: modelascontrollerroutes
Before: '*'
After: '#rootroutes'
---
Director:
rules:
2012-06-20 08:40:09 +02:00
'': 'RootURLController'
'$URLSegment//$Action/$ID/$OtherID': 'ModelAsController'
'StaticExporter//$Action/$ID/$OtherID': 'StaticExporter'
'RebuildStaticCacheTask//$Action/$ID/$OtherID': 'RebuildStaticCacheTask'
'RemoveOrphanedPagesTask//$Action/$ID/$OtherID': 'RemoveOrphanedPagesTask'
'SiteTreeMaintenanceTask//$Action/$ID/$OtherID': 'SiteTreeMaintenanceTask'
'SiteTreeMaintenanceTask//$Action/$ID/$OtherID': 'SiteTreeMaintenanceTask'
---
Name: legacycmsroutes
After: '#adminroutes'
---
Director:
rules:
'admin/cms': '->admin/pages'