mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-10-22 15:05:50 +00:00
Duplicating routing rules, to avoid override
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.
This commit is contained in:
parent
431732f605
commit
df6fa12359
@ -4,6 +4,10 @@ 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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user