From 56283ea769da02334a8f16f3ad40a850d3d01708 Mon Sep 17 00:00:00 2001 From: Deepak Kumar Date: Thu, 5 Jun 2025 11:24:08 +0530 Subject: [PATCH] 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: --- page_creation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/page_creation.rst b/page_creation.rst index f8b2fdaf251..8ab89baa9f6 100644 --- a/page_creation.rst +++ b/page_creation.rst @@ -36,7 +36,7 @@ Creating a Page: Route and Controller Suppose you want to create a page - ``/lucky/number`` - that generates a lucky (well, random) number and prints it. To do that, create a "Controller" class and a -"controller" method inside of it:: +"number" method inside of it::