Skip to content

Commit d1c2a1e

Browse files
committed
minor #14528 [Routing] Remove simple quotes in config/routes/annotations.yaml (Yondz)
This PR was merged into the 4.4 branch. Discussion ---------- [Routing] 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 ;) <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- 6649146 Remove simple quotes in config/routes/annotations.yaml
2 parents 59bee3e + 6649146 commit d1c2a1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routing.rst

+1-1
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)