Skip to content

Commit

Permalink
Merge pull request #5354 from kenjis/fix-docs-routing.rst
Browse files Browse the repository at this point in the history
docs: fix routing.rst
  • Loading branch information
kenjis authored Nov 19, 2021
2 parents 0aa542b + 5a3ba80 commit e473217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user_guide_src/source/incoming/routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit e473217

Please sign in to comment.