Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 07d55ef

Browse filesBrowse files
committed
Fix typos
1 parent 120c498 commit 07d55ef
Copy full SHA for 07d55ef

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎book/controller.rst

Copy file name to clipboardExpand all lines: book/controller.rst
+2-2Lines changed: 2 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.