Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0a45113

Browse files
author
Bruno Vitorino
committed
Route description correction.
The actual route is '/random/{limit}' and not '/number/{limit}'.
1 parent 928a579 commit 0a45113

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/page_creation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ the new route that defines the URL of the page that you're about to create:
231231
The routing consists of two basic pieces: the ``path``, which is the URL
232232
that this route will match, and a ``defaults`` array, which specifies the
233233
controller that should be executed. The placeholder syntax in the path
234-
(``{limit}``) is a wildcard. It means that ``/number/10``, ``/number/327``
234+
(``{limit}``) is a wildcard. It means that ``/random/10``, ``/random/327``
235235
or any other similar URL will match this route. The ``{limit}`` placeholder
236236
parameter will also be passed to the controller so that you can use its value
237237
to generate the proper random number.

0 commit comments

Comments
 (0)