Skip to content

Commit a5ee50c

Browse files
committed
docs: add "app/Config/Routes.php" in comments
1 parent 87eaa98 commit a5ee50c

File tree

6 files changed

+6
-3
lines changed

6 files changed

+6
-3
lines changed

user_guide_src/source/incoming/routing/045.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ class Routing extends BaseRouting
88
// ...
99
}
1010

11+
// In app/Config/Routes.php
1112
// Controller is \Users
1213
$routes->get('users', 'Users::index');
1314

user_guide_src/source/incoming/routing/046.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
// This can be overridden in the Routes file
3+
// This can be overridden in app/Config/Routes.php
44
$routes->setDefaultNamespace('App');
55

66
// Controller is \App\Users

user_guide_src/source/incoming/routing/049.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ class Routing extends BaseRouting
88
// ...
99
}
1010

11-
// This can be overridden in the Routes file
11+
// This can be overridden in app/Config/Routes.php
1212
$routes->setTranslateURIDashes(true);

user_guide_src/source/incoming/routing/050.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ class Routing extends BaseRouting
88
// ...
99
}
1010

11-
// This can be overridden in the Routes file
11+
// This can be overridden in app/Config/Routes.php
1212
$routes->setAutoRoute(false);

user_guide_src/source/incoming/routing/051.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ class Routing extends BaseRouting
88
// ...
99
}
1010

11+
// In app/Config/Routes.php
1112
// Would execute the show404 method of the App\Errors class
1213
$routes->set404Override('App\Errors::show404');
1314

user_guide_src/source/incoming/routing/052.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ class Routing extends BaseRouting
88
// ...
99
}
1010

11+
// In app/Config/Routes.php
1112
// to enable
1213
$routes->setPrioritize();
1314

0 commit comments

Comments
 (0)