Permalink
Browse files

minor #4647 Update controllers.rst (keefekwan)

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 48cc9cdad1a97162de4cba83eb56284e899d9fcd
Showing with 2 additions and 0 deletions.
  1. +2 −0 best_practices/controllers.rst
@@ -136,6 +136,8 @@ For example:
.. code-block:: php
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
/**
* @Route("/{id}", name="admin_post_show")
*/

0 comments on commit 48cc9cd

Please sign in to comment.