doc.silverstripe.org/app/_config/routes.yml
Ingo Schommer df6fa12359 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.
2013-02-15 11:47:42 +01:00

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'