![]() |
help with setting up routes rules - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: help with setting up routes rules (/showthread.php?tid=76873) |
help with setting up routes rules - wing - 06-28-2020 Hi, I am having trouble in setting up the routing rules. In the app/Config/Routes.php, all HTTP verb use would result with 404, but get. Here's how I am setting up the rules which is in trouble. PHP Code: $routes->group('admin', ['namespace' => 'App\Controllers\Admin'], function ($routes) { But this works. PHP Code: $routes->group('admin', ['namespace' => 'App\Controllers\Admin'], function ($routes) { Thank you for your time in advance. Wing RE: help with setting up routes rules - inumaru - 07-03-2020 I tried it, but both are working in my case. any other information you could provide? I also test with: PHP Code: $routes->group('admin', function ($routes) { |