File tree 1 file changed +3
-1
lines changed
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:
449
449
450
450
.. note ::
451
451
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
453
453
configuration. Routing configuration can also be written in other formats
454
454
such as XML or PHP.
455
455
@@ -459,6 +459,8 @@ the ``AcmeDemoBundle:Main:contact`` string is a short syntax that points to a
459
459
specific PHP method ``contactAction `` inside a class called ``MainController ``::
460
460
461
461
// src/Acme/DemoBundle/Controller/MainController.php
462
+ namespace Acme\DemoBundle\Controller;
463
+
462
464
use Symfony\Component\HttpFoundation\Response;
463
465
464
466
class MainController
You can’t perform that action at this time.
0 commit comments