Skip to content

Commit

Permalink
minor #4727 Renamed example: "Acme\BlogBundle" -> "AppBundle" (muxator)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.6 branch.

Discussion
----------

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
  ```

Commits
-------

4c8d75f Renamed example: "Acme\BlogBundle" -> "AppBundle"
  • Loading branch information
wouterj committed Jan 2, 2015
2 parents caa2be6 + 4c8d75f commit 3eb14aa
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 3eb14aa

Please sign in to comment.