8000 Rewords · symfony/symfony-docs@d2ff7d6 · GitHub
[go: up one dir, main page]

Skip to content

Commit d2ff7d6

Browse files
Rewords
1 parent d89d2b2 commit d2ff7d6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

page_creation.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ random) number and prints it. To do that, create a "Controller class" and a
4848
class LuckyController
4949
{
5050
/**
51-
@Route("/lucky/number")
9AF6 51+
* @Route("/lucky/number")
5252
*/
5353
public function numberAction()
5454
{
@@ -94,9 +94,9 @@ If you're returning HTML from your controller, you'll probably want to render
9494
a template. Fortunately, Symfony comes with `Twig`_: a templating language that's
9595
easy, powerful and actually quite fun.
9696

97-
First, include the Symfony controller class as shown in line 5 below then,
98-
make sure that ``LuckyController`` extends Symfony's base
99-
:class:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller` class::
97+
First, import the Symfony's base
98+
:class:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller` class as shown
99+
in line 5 below. Then, make sure that ``LuckyController`` extends from it::
100100

101101
:class:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller` class::
102102

0 commit comments

Comments
 (0)
0