Add namespacing to YAML example

This commit is contained in:
RuthAdele 2020-09-25 13:58:12 +09:30 committed by GitHub
parent ae0ece2b02
commit 4e22277c69
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'
``` ```