Skip to content

Commit 4c8d75f

Browse files
committed
Renamed example: "Acme\BlogBundle" -> "AppBundle"
In the context of this sentence, the correct fully-qualified class name for the controller seems to be AppBundle\Controller\BlogController::showAction and not Acme\BlogBundle\Controller\BlogController::showAction
1 parent 3470c87 commit 4c8d75f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@ Notice that Symfony adds the string ``Controller`` to the class name (``Blog``
11691169
=> ``BlogController``) and ``Action`` to the method name (``show`` => ``showAction``).
11701170

11711171
You could also refer to this controller using its fully-qualified class name
1172-
and method: ``Acme\BlogBundle\Controller\BlogController::showAction``.
1172+
and method: ``AppBundle\Controller\BlogController::showAction``.
11731173
But if you follow some simple conventions, the logical name is more concise
11741174
and allows more flexibility.
11751175

0 commit comments

Comments
 (0)