Merge pull request #9708 from RuthAdele/patch-3

Add namespacing to YAML example
This commit is contained in:
Robbie Averill 2020-09-24 23:13:30 -07:00 committed by GitHub
commit 9753d835fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -256,7 +256,7 @@ class FeedController extends ContentController
The YAML rule, in contrast, is simple. It needs to provide only enough information for the framework to choose the desired controller. The YAML rule, in contrast, is simple. It needs to provide only enough information for the framework to choose the desired controller.
```yml ```yml
Director: SilverStripe\Control\Director:
rules: rules:
'feed': 'FeedController' 'feed': 'FeedController'
``` ```