Skip to content

Commit 38f03f0

Browse files
committed
minor #21052 Fix typo in documentation: changed "controller" to "number" method (deekumar24)
This PR was submitted for the 7.3 branch but it was merged into the 6.4 branch instead. Discussion ---------- Fix typo in documentation: changed "controller" to "number" method Updated the line that incorrectly instructed to create a "controller" method. Replaced it with "number" method to align with the actual example context. Original: To do that, create a "Controller" class and a "controller" method inside of it: Updated: To do that, create a "Controller" class and a "number" method inside of it: <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `7.x` for features of unreleased versions). --> Commits ------- 56283ea Fix typo in documentation: changed "controller" to "number" method
2 parents b5a3e15 + 56283ea commit 38f03f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

page_creation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Creating a Page: Route and Controller
3636

3737
Suppose you want to create a page - ``/lucky/number`` - that generates a lucky (well,
3838
random) number and prints it. To do that, create a "Controller" class and a
39-
"controller" method inside of it::
39+
"number" method inside of it::
4040

4141
<?php
4242
// src/Controller/LuckyController.php

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy