File tree 1 file changed +5
-5
lines changed 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:
109
109
110
110
// ...
111
111
+ use Symfony\Component\Routing\Annotation\Route;
112
-
112
+
113
113
class LuckyController
114
114
{
115
- + /**
116
- + * @Route("/lucky/number")
117
- + */
115
+ + /**
116
+ + * @Route("/lucky/number")
117
+ + */
118
118
public function number()
119
119
{
120
120
// this looks exactly the same
@@ -248,7 +248,7 @@ variable so you can use it in Twig::
248
248
}
249
249
250
250
Template 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
252
252
``number.html.twig `` file inside:
253
253
254
254
.. code-block :: twig
You can’t perform that action at this time.
0 commit comments