Commit c443d1c
committed
minor #8394 Page creation article (tiwiex, javiereguiluz)
This PR was merged into the 2.7 branch.
Discussion
----------
Page creation article
included some clarity on creating the controller bundle. not a syntax error. The step is hidden in the code while the instruction to extend Symfony Controller with the LuckyController.
Commits
-------
d2ff7d6 Rewords
d89d2b2 added the step to include "use Symfony\Bundle\FrameworkBundle\Controller\Controller;" before Lucky Controller extends the base controller class. This was mentioned in the code but could easily have been missed as a step. I missed that and didn't realize it was a new line in the code. I think the necessary Framework bundles should all have been listed.
9e9f28e Uncommemted line 10: ** @route("/lucky/number"). I was getting a routing error.1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
98 | 101 | | |
99 | 102 | | |
100 | 103 | | |
| |||
0 commit comments