diff --git a/system/Commands/Utilities/Routes.php b/system/Commands/Utilities/Routes.php index c8fc46bf3876..c62e11df6d3f 100644 --- a/system/Commands/Utilities/Routes.php +++ b/system/Commands/Utilities/Routes.php @@ -75,7 +75,10 @@ class Routes extends BaseCommand */ public function run(array $params) { - $collection = Services::routes(true); + $routes = Services::routes(true); + require APPPATH . 'Config/Routes.php'; + + $collection = $routes; $methods = [ 'get', 'head',