10000 [#8394] minor reword · symfony/symfony-docs@8095cc2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8095cc2

Browse files
committed
[#8394] minor reword
1 parent c443d1c commit 8095cc2

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

page_creation.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +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, 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::
100-
101-
:class:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller` class::
97+
First, import the base :class:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller`
98+
class as shown on line 5 below. Then, let your ``LuckyController`` class
99+
extend the base class::
102100

103101
// src/AppBundle/Controller/LuckyController.php
104102
// ...

0 commit comments

Comments
 (0)
0