@@ -151,9 +151,9 @@ $routes->connect(
151151
152152The first parameter is used to tell the router what sort of URL you're trying to
153153control. The URL is a normal slash delimited string, but can also contain
154- a wildcard ( * ) or [ Route Elements] ( #route-elements ) . Using a wildcard tells the router
154+ a wildcard ` * ` or [ Route Elements] ( #route-elements ) . Using a wildcard tells the router
155155that you are willing to accept any additional arguments supplied. Routes without
156- a * only match the exact template pattern supplied.
156+ a ` * ` only match the exact template pattern supplied.
157157
158158Once you've specified a URL, you use the last two parameters of ` connect() ` to
159159tell CakePHP what to do with a request once it has been matched. The second
@@ -185,13 +185,13 @@ The above example also illustrates string targets. String targets provide
185185a compact way to define a route's destination. String targets have the following
186186syntax:
187187
188- ``` text
188+ ``` text
189189[Plugin].[Prefix]/[Controller]::[action]
190190```
191191
192192Some example string targets are:
193193
194- ``` text
194+ ``` text
195195// Application controller
196196'Articles::view'
197197
@@ -1184,7 +1184,7 @@ $routes->scope(path: '/api', callback: function (RouteBuilder $routes) {
11841184Will generate resource routes for both ` articles ` and ` comments ` . The
11851185comments routes will look like:
11861186
1187- ``` text
1187+ ``` text
11881188/api/articles/{article_id}/comments
11891189/api/articles/{article_id}/comments/{id}
11901190```
@@ -1379,7 +1379,7 @@ class CalendarsController extends AppController
13791379
13801380You would get the following output:
13811381
1382- ``` text
1382+ ``` text
13831383Array
13841384(
13851385 [0] => recent
@@ -1397,7 +1397,7 @@ debug($this->request->getParam('pass'));
13971397
13981398Either of the above would output:
13991399
1400- ``` text
1400+ ``` text
14011401Array
14021402(
14031403 [0] => recent
0 commit comments