@@ -109,7 +109,9 @@ added your own routes, you can remove the default routes if you don't need them.
109109
110110<a id =" routes-configuration " ></a >
111111
112- ## Connecting Routes<span id =" connecting-routes " ></span >
112+ <a id =" connecting-routes " ></a >
113+
114+ ## Connecting Routes
113115
114116To keep your code ` DRY ` you should use 'routing scopes'. Routing
115117scopes not only let you keep your code DRY, they also help Router optimize its
@@ -144,9 +146,9 @@ $routes->connect(
144146
145147The first parameter is used to tell the router what sort of URL you're trying to
146148control. The URL is a normal slash delimited string, but can also contain
147- a wildcard (\ * ) or [ Route Elements] ( #route-elements ) . Using a wildcard tells the router
149+ a wildcard (* ) or [ Route Elements] ( #route-elements ) . Using a wildcard tells the router
148150that you are willing to accept any additional arguments supplied. Routes without
149- a \ * only match the exact template pattern supplied.
151+ a * only match the exact template pattern supplied.
150152
151153Once you've specified a URL, you use the last two parameters of ` connect() ` to
152154tell CakePHP what to do with a request once it has been matched. The second
@@ -1453,7 +1455,7 @@ array elements.
14531455
14541456### Using ` Router::url() `
14551457
1456- ` Router::url() ` allows you to use ` routing arrays <routing array> ` in
1458+ ` Router::url() ` allows you to use routing arrays in
14571459situations where the array elements required are fixed or easily deduced.
14581460
14591461It will provide reverse routing when the destination url is well defined:
0 commit comments