![]() |
form redirect not work! - 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: form redirect not work! (/showthread.php?tid=75978) |
form redirect not work! - pws - 04-03-2020 Hello, i install CI4 and i have form login . after submit the redirect page display me error: Controller or its method is not found: App\Controllers\Admin::login but on router i have: $routes->get('/admin/login', 'Users::login'); Why?!! where is the error? and the strange thing when i write url on navigator the page opened! please help is urgent!! RE: form redirect not work! - jreklund - 04-03-2020 You should omit the / from your get. https://codeigniter.com/user_guide/incoming/routing.html#examples RE: form redirect not work! - pws - 04-03-2020 (04-03-2020, 10:46 AM)jreklund Wrote: You should omit the / from your get.thanks is help me |