Skip to content

Commit 6649146

Browse files
author
Greg Suraci
authored
Remove simple quotes in config/routes/annotations.yaml
I find it weird to have both quoted and un-quoted values for `resource:` key in this code block. I went to an actual project to double check the content of `config/routes/annotations.yaml` provided by the recipe (https://github.com/symfony/recipes/blob/master/doctrine/annotations/1.0/config/routes/annotations.yaml) and found out that both `resource:` are unquoted. Versions : 4.4, 5.0, 5.1, 5.2 Have a good day ;)
1 parent 59bee3e commit 6649146

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ following configuration file:
3636
3737
# config/routes/annotations.yaml
3838
controllers:
39-
resource: '../../src/Controller/'
39+
resource: ../../src/Controller/
4040
type: annotation
4141
4242
kernel:

0 commit comments

Comments
 (0)