Skip to content

Commit

Permalink
use existing $routes var from APPPATH . "Config/Routes.php"
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Mar 12, 2020
1 parent 26ea953 commit 527bdcc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions system/Test/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,5 @@ class_alias('Config\Services', 'CodeIgniter\Services');
// Register the loader with the SPL autoloader stack.
$loader->register();

$routes = \Config\Services::routes();
$routes->getRoutes('*');

require_once APPPATH . 'Config/Routes.php';
$routes->getRoutes('*');

0 comments on commit 527bdcc

Please sign in to comment.