Skip to content

Commit 07d55ef

Browse files
committed
Fix typos
1 parent 120c498 commit 07d55ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/controller.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -724,12 +724,12 @@ Final Thoughts
724724

725725
Whenever you create a page, you'll ultimately need to write some code that
726726
contains the logic for that page. In Symfony, this is called a controller,
727-
and it's a PHP function that can do anything it needs to to in order to return
727+
and it's a PHP function that can do anything it needs in order to return
728728
the final ``Response`` object that will be returned to the user.
729729

730730
To make life easier, you can choose to extend a base ``Controller`` class,
731731
which contains shortcut methods for many common controller tasks. For example,
732-
since you don't want to put put HTML code in your controller, you can use
732+
since you don't want to put HTML code in your controller, you can use
733733
the ``render()`` method to render and return the content from a template.
734734

735735
In other chapters, you'll see how the controller can be used to persist and

0 commit comments

Comments
 (0)