File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -449,7 +449,7 @@ by adding an entry for ``/contact`` to your routing configuration file:
449449
450450 .. note ::
451451
452- This example uses :doc: `YAML</components/yaml/introduction > ` to define the routing
452+ This example uses :doc: `YAML</components/yaml/format > ` to define the routing
453453 configuration. Routing configuration can also be written in other formats
454454 such as XML or PHP.
455455
@@ -459,6 +459,8 @@ the ``AcmeDemoBundle:Main:contact`` string is a short syntax that points to a
459459specific PHP method ``contactAction `` inside a class called ``MainController ``::
460460
461461 // src/Acme/DemoBundle/Controller/MainController.php
462+ namespace Acme\DemoBundle\Controller;
463+
462464 use Symfony\Component\HttpFoundation\Response;
463465
464466 class MainController
You can’t perform that action at this time.
0 commit comments