Skip to content

Commit 48cc9cd

Browse files
committed
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
2 parents 2efed8c + 1a0534d commit 48cc9cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

best_practices/controllers.rst

+2
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ For example:
136136

137137
.. code-block:: php
138138
139+
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
140+
139141
/**
140142
* @Route("/{id}", name="admin_post_show")
141143
*/

0 commit comments

Comments
 (0)