From 5a3ba8012e09c060ca595b0c705e2229d722d426 Mon Sep 17 00:00:00 2001 From: kenjis Date: Thu, 18 Nov 2021 17:29:12 +0900 Subject: [PATCH] docs: fix incorrect method name --- user_guide_src/source/incoming/routing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_guide_src/source/incoming/routing.rst b/user_guide_src/source/incoming/routing.rst index 5dade8d13f3d..9778307bc4fa 100644 --- a/user_guide_src/source/incoming/routing.rst +++ b/user_guide_src/source/incoming/routing.rst @@ -330,7 +330,7 @@ Command-Line only Routes You can create routes that work only from the command-line, and are inaccessible from the web browser, with the ``cli()`` method. This is great for building cronjobs or CLI-only tools. Any route created by any of the HTTP-verb-based -route methods will also be inaccessible from the CLI, but routes created by the ``any()`` method will still be +route methods will also be inaccessible from the CLI, but routes created by the ``add()`` method will still be available from the command line:: $routes->cli('migrate', 'App\Database::migrate');