File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -109,12 +109,12 @@ You can now add your route directly *above* the controller:
109109
110110 // ...
111111 + use Symfony\Component\Routing\Annotation\Route;
112-
112+
113113 class LuckyController
114114 {
115- + /**
116- + * @Route("/lucky/number")
117- + */
115+ + /**
116+ + * @Route("/lucky/number")
117+ + */
118118 public function number()
119119 {
120120 // this looks exactly the same
@@ -248,7 +248,7 @@ variable so you can use it in Twig::
248248 }
249249
250250Template files live in the ``templates/ `` directory, which was created for you automatically
251- when you installed Twig. Create a new ``templates/lucky `` directory with a new
251+ when you installed Twig. Create a new ``templates/lucky `` directory with a new
252252``number.html.twig `` file inside:
253253
254254.. code-block :: twig
You can’t perform that action at this time.
0 commit comments