silverstripe-framework/_config/routes.yml
2015-10-30 15:31:54 +13:00

36 lines
753 B
YAML

---
Name: rootroutes
Before: '*'
---
Director:
rules:
'': 'Controller'
---
Name: coreroutes
Before: '*'
After:
- '#rootroutes'
- '#modelascontrollerroutes'
---
Director:
rules:
'Security//$Action/$ID/$OtherID': 'Security'
'CMSSecurity//$Action/$ID/$OtherID': 'CMSSecurity'
'dev': 'DevelopmentAdmin'
'interactive': 'SapphireREPL'
'InstallerTest//$Action/$ID/$OtherID': 'InstallerTest'
'JSTestRunner//$Action/$ID/$OtherID': 'JSTestRunner'
'SapphireInfo//$Action/$ID/$OtherID': 'SapphireInfo'
'SapphireREPL//$Action/$ID/$OtherID': 'SapphireREPL'
---
Name: adminroutes
Before: '*'
After:
- '#rootroutes'
- '#coreroutes'
- '#modelascontrollerroutes'
---
Director:
rules:
'admin': 'AdminRootController'