From 9f6e32e21506bb0f2d1cedc953fbb235920b4914 Mon Sep 17 00:00:00 2001 From: mscherer Date: Mon, 2 Dec 2024 19:19:39 +0100 Subject: [PATCH] Fix a few grammar things. --- en/development/routing.rst | 2 +- en/orm/query-builder.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/en/development/routing.rst b/en/development/routing.rst index 2dda7673b2..979508204f 100644 --- a/en/development/routing.rst +++ b/en/development/routing.rst @@ -295,7 +295,7 @@ will be treated as part of the parameter:: The above example illustrates how to create a quick way to view models from any controller by crafting a URL that looks like -``/controllername/{id}``. The URL provided to ``connect()`` specifies two +``/controller-name/{id}``. The URL provided to ``connect()`` specifies two route elements: ``{controller}`` and ``{id}``. The ``{controller}`` element is a CakePHP default route element, so the router knows how to match and identify controller names in URLs. The ``{id}`` element is a custom diff --git a/en/orm/query-builder.rst b/en/orm/query-builder.rst index 0ba97c99e7..4df328b959 100644 --- a/en/orm/query-builder.rst +++ b/en/orm/query-builder.rst @@ -150,12 +150,12 @@ You can also get a key-value list out of a query result:: For more information on how to customize the fields used for populating the list refer to :ref:`table-find-list` section. -Resultset Are Collection Objects +ResultSet Is A Collection Object -------------------------------- Once you get familiar with the Query object methods, it is strongly encouraged that you visit the :doc:`Collection ` section to -improve your skills in efficiently traversing the results. The resultset (returned +improve your skills in efficiently traversing the results. The ResultSet (returned by calling the ``SelectQuery``'s ``all()`` method) implements the collection interface:: // Use the combine() method from the collections library