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 0a45113

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

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
lines changed

‎book/page_creation.rst

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