Skip to content

Commit 5a3ba80

Browse files
committed
docs: fix incorrect method name
1 parent 93f6ff9 commit 5a3ba80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

user_guide_src/source/incoming/routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ Command-Line only Routes
330330

331331
You can create routes that work only from the command-line, and are inaccessible from the web browser, with the
332332
``cli()`` method. This is great for building cronjobs or CLI-only tools. Any route created by any of the HTTP-verb-based
333-
route methods will also be inaccessible from the CLI, but routes created by the ``any()`` method will still be
333+
route methods will also be inaccessible from the CLI, but routes created by the ``add()`` method will still be
334334
available from the command line::
335335

336336
$routes->cli('migrate', 'App\Database::migrate');

0 commit comments

Comments
 (0)