diff --git a/controller/upload_file.rst b/controller/upload_file.rst index de01bc2628a..3b7d08c36a4 100644 --- a/controller/upload_file.rst +++ b/controller/upload_file.rst @@ -112,7 +112,7 @@ to :doc:`customize form rendering `): Finally, you need to update the code of the controller that handles the form:: // src/AppBundle/Controller/ProductController.php - namespace AppBundle\ProductController; + namespace AppBundle\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Symfony\Bundle\FrameworkBundle\Controller\Controller; @@ -395,15 +395,16 @@ Now, register this class as a Doctrine listener: http://symfony.com/schema/dic/services/services-1.0.xsd"> - - - - - - + + + + + + + .. code-block:: php