Skip to content

Commit

Permalink
minor #4647 Update controllers.rst (keefekwan)
Browse files Browse the repository at this point in the history
This PR was submitted for the 2.6 branch but it was merged into the 2.3 branch instead (closes #4647).

Discussion
----------

Update controllers.rst

Added in Route/ParamConverter use statements and @ParamConverter annotation

Commits
-------

1a0534d Update controllers.rst
  • Loading branch information
wouterj committed Dec 16, 2014
2 parents 2efed8c + 1a0534d commit 48cc9cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions best_practices/controllers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ For example:

.. code-block:: php
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
/**
* @Route("/{id}", name="admin_post_show")
*/
Expand Down

0 comments on commit 48cc9cd

Please sign in to comment.