Skip to content

Commit 56283ea

Browse files
deekumar24javiereguiluz
authored andcommitted
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:
1 parent b5a3e15 commit 56283ea

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