mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-03 06:38:51 +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
|
:::yml
|
||||||
---
|
---
|
||||||
Name: adminroutes
|
Name: adminroutes
|
||||||
After: 'framework/routes#rootroutes', 'framework/routes#coreroutes'
|
After:
|
||||||
|
- '#rootroutes'
|
||||||
|
- '#coreroutes'
|
||||||
---
|
---
|
||||||
Director:
|
Director:
|
||||||
rules:
|
rules:
|
||||||
@ -198,6 +200,8 @@ A more complex example, taken from framework/_config/routes.yml:
|
|||||||
Before: '*'
|
Before: '*'
|
||||||
After:
|
After:
|
||||||
- '#rootroutes'
|
- '#rootroutes'
|
||||||
|
- '#coreroutes'
|
||||||
|
- '#modelascontrollerroutes'
|
||||||
---
|
---
|
||||||
Director:
|
Director:
|
||||||
rules:
|
rules:
|
||||||
|
Loading…
Reference in New Issue
Block a user