Skip to content

Commit a80152a

Browse files
authored
Merge pull request #1012 from cakephp/5.next-update-routes-doc
5.next: update routes doc
2 parents 77bf388 + d49ac89 commit a80152a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

config/routes.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626

2727
/*
2828
* This file is loaded in the context of the `Application` class.
29-
* So you can use `$this` to reference the application class instance
30-
* if required.
29+
* So you can use `$this` to reference the application class instance
30+
* if required.
3131
*/
3232
return function (RouteBuilder $routes): void {
3333
/*
@@ -72,8 +72,8 @@
7272
* $builder->connect('/{controller}/{action}/*', []);
7373
* ```
7474
*
75-
* You can remove these routes once you've connected the
76-
* routes you want in your application.
75+
* It is NOT recommended to use fallback routes after your initial prototyping phase!
76+
* See https://book.cakephp.org/5/en/development/routing.html#fallbacks-method for more information
7777
*/
7878
$builder->fallbacks();
7979
});

0 commit comments

Comments
 (0)