Skip to content

Commit 8b64865

Browse files
committed
minor #18031 Fix typo in routing (JoxMartin)
This PR was merged into the 6.2 branch. Discussion ---------- Fix typo in routing There was a typo in the Matching expression section : Ap\ instead of App\ <!-- 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 `6.x` for features of unreleased versions). --> Commits ------- 168d5f2 Fix typo in routing
2 parents 4150865 + 168d5f2 commit 8b64865

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
@@ -408,7 +408,7 @@ You can also use these functions:
408408
// Controller (using an alias):
409409
#[Route(condition: "service('route_checker').check(request)")]
410410
// Or without alias:
411-
#[Route(condition: "service('Ap\\\Service\\\RouteChecker').check(request)")]
411+
#[Route(condition: "service('App\\\Service\\\RouteChecker').check(request)")]
412412

413413
.. versionadded:: 6.1
414414

0 commit comments

Comments
 (0)