Skip to content

Commit

Permalink
Renamed example: "Acme\BlogBundle" -> "AppBundle"
Browse files Browse the repository at this point in the history
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
  • Loading branch information
muxator committed Jan 1, 2015
1 parent 3470c87 commit 4c8d75f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,7 @@ Notice that Symfony adds the string ``Controller`` to the class name (``Blog``
=> ``BlogController``) and ``Action`` to the method name (``show`` => ``showAction``).

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

Expand Down

0 comments on commit 4c8d75f

Please sign in to comment.