mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-06 09:41:36 +02:00
24 lines
562 B
YAML
24 lines
562 B
YAML
|
---
|
||
|
Name: coreroutes
|
||
|
After: cms/routes#modelascontrollerroutes
|
||
|
Before: '*'
|
||
|
---
|
||
|
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
|
||
|
After: framework/routes#coreroutes
|
||
|
---
|
||
|
Director:
|
||
|
rules:
|
||
|
'admin': 'AdminRootController'
|
||
|
'': 'RootURLController'
|
||
|
'dev/buildcache/$Action': 'RebuildStaticCacheTask'
|