File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -24,17 +24,12 @@ syntax:
2424
2525.. configuration-block ::
2626
27- .. code-block :: yaml
28-
29- # app/config/routing.yml
30- hello :
31- path : /hello
32- defaults : { _controller: app.hello_controller:indexAction }
33-
3427 .. code-block :: php-annotations
3528
36- # src/AppBundle/Controller/HelloController.php
29+ // src/AppBundle/Controller/HelloController.php
3730 // ...
31+
32+ use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
3833
3934 /**
4035 * @Route(service="app.hello_controller")
@@ -44,6 +39,13 @@ syntax:
4439 // ...
4540 }
4641
42+ .. code-block :: yaml
43+
44+ # app/config/routing.yml
45+ hello :
46+ path : /hello
47+ defaults : { _controller: app.hello_controller:indexAction }
48+
4749 .. code-block :: xml
4850
4951 <!-- app/config/routing.xml -->
You can’t perform that action at this time.
0 commit comments