mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
26cfd64d8e
The _config/route rules explicitly mentioned framework by module name, so if you installed framework in the older sapphire directory youd always end up with cyclic config requirement errors
35 lines
675 B
YAML
35 lines
675 B
YAML
---
|
|
Name: rootroutes
|
|
Before: '*'
|
|
---
|
|
Director:
|
|
rules:
|
|
'': 'Controller'
|
|
---
|
|
Name: coreroutes
|
|
Before: '*'
|
|
After:
|
|
- '#rootroutes'
|
|
- '#modelascontrollerroutes'
|
|
---
|
|
Director:
|
|
rules:
|
|
'Security//$Action/$ID/$OtherID': 'Security'
|
|
'$Controller//$Action/$ID/$OtherID': '*'
|
|
'api/v1/live': 'VersionedRestfulServer'
|
|
'api/v1': 'RestfulServer'
|
|
'soap/v1': 'SOAPModelAccess'
|
|
'dev': 'DevelopmentAdmin'
|
|
'interactive': 'SapphireREPL'
|
|
---
|
|
Name: adminroutes
|
|
Before: '*'
|
|
After:
|
|
- '#rootroutes'
|
|
- '#coreroutes'
|
|
- '#modelascontrollerroutes'
|
|
---
|
|
Director:
|
|
rules:
|
|
'admin': 'AdminRootController'
|
|
'dev/buildcache/$Action': 'RebuildStaticCacheTask' |