mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-10-22 17:05:50 +02:00
df6fa12359
Honestly, I can't figure out the YML overrides logic, and there's no introspection on how it gives rules preference, so this is a quick hack.
14 lines
335 B
YAML
14 lines
335 B
YAML
---
|
|
Name: docs
|
|
After: framework/routes#coreroutes
|
|
---
|
|
Director:
|
|
rules:
|
|
'Security//$Action/$ID/$OtherID': 'Security'
|
|
'dev': 'DevelopmentAdmin'
|
|
'admin': 'AdminRootController'
|
|
'dev/buildcache/$Action': 'RebuildStaticCacheTask'
|
|
'dev': 'DevelopmentAdmin'
|
|
'': '->framework/en/'
|
|
'$Action': 'DocumentationViewer'
|