Skip to content

Commit c65cb31

Browse files
committed
docs: update documentation
1 parent 91114e0 commit c65cb31

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

user_guide_src/source/changelogs/v4.2.0.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Enhancements
2828
- Added Validation Strict Rules. See :ref:`validation-traditional-and-strict-rules`.
2929
- Added new OCI8 driver for database.
3030
- It can access Oracle Database and supports SQL and PL/SQL statements.
31+
- The ``spark routes`` command now shows closure routes, auto routtes, and filters. See :ref:`URI Routing <spark-routes>`.
3132

3233
Changes
3334
*******

user_guide_src/source/incoming/routing.rst

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -630,18 +630,16 @@ The output is like the following:
630630

631631
.. code-block:: none
632632
633-
+--------+----------------------------+------------------------------------------------+----------------+-----------------------+
634-
| Method | Route | Handler | Filters:before | Filters:after |
635-
+--------+----------------------------+------------------------------------------------+----------------+-----------------------+
636-
| GET | / | \App\Controllers\Home::index | csrf | secureheaders toolbar |
637-
| CLI | migrations/([^/]+)/([^/]+) | \CodeIgniter\Commands\MigrationsCommand::$1/$2 | | |
638-
| CLI | migrations/([^/]+) | \CodeIgniter\Commands\MigrationsCommand::$1 | | |
639-
| CLI | migrations | \CodeIgniter\Commands\MigrationsCommand::index | | |
640-
| CLI | ci(.*) | \CodeIgniter\CLI\CommandRunner::index/$1 | | |
641-
| auto | / | \App\Controllers\Home::index | csrf | secureheaders toolbar |
642-
| auto | home | \App\Controllers\Home::index | csrf | secureheaders toolbar |
643-
| auto | home/index[/...] | \App\Controllers\Home::index | csrf | secureheaders toolbar |
644-
+--------+----------------------------+------------------------------------------------+----------------+-----------------------+
633+
+--------+------------------+------------------------------------------+----------------+-----------------------+
634+
| Method | Route | Handler | Before Filters | After Filters |
635+
+--------+------------------+------------------------------------------+----------------+-----------------------+
636+
| GET | / | \App\Controllers\Home::index | invalidchars | secureheaders toolbar |
637+
| GET | feed | (Closure) | invalidchars | secureheaders toolbar |
638+
| CLI | ci(.*) | \CodeIgniter\CLI\CommandRunner::index/$1 | | |
639+
| auto | / | \App\Controllers\Home::index | invalidchars | secureheaders toolbar |
640+
| auto | home | \App\Controllers\Home::index | invalidchars | secureheaders toolbar |
641+
| auto | home/index[/...] | \App\Controllers\Home::index | invalidchars | secureheaders toolbar |
642+
+--------+------------------+------------------------------------------+----------------+-----------------------+
645643
646644
The *Method* column shows the HTTP method that the route is listening for. ``auto`` means that the route is discovered by auto routing, so it is not defined in **app/Config/Routes.php**.
647645

0 commit comments

Comments
 (0)