mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update the yaml configuration with existing before / after syntax
This commit is contained in:
parent
d032fadfb5
commit
d1fe294d61
@ -174,7 +174,9 @@ keys is a list of reference paths to other value sections. A basic example:
|
||||
:::yml
|
||||
---
|
||||
Name: adminroutes
|
||||
After: 'framework/routes#rootroutes', 'framework/routes#coreroutes'
|
||||
After:
|
||||
- '#rootroutes'
|
||||
- '#coreroutes'
|
||||
---
|
||||
Director:
|
||||
rules:
|
||||
@ -198,6 +200,8 @@ A more complex example, taken from framework/_config/routes.yml:
|
||||
Before: '*'
|
||||
After:
|
||||
- '#rootroutes'
|
||||
- '#coreroutes'
|
||||
- '#modelascontrollerroutes'
|
||||
---
|
||||
Director:
|
||||
rules:
|
||||
|
Loading…
Reference in New Issue
Block a user