Help with redirect->with - 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 redirect->with (/showthread.php?tid=77168) |
Help with redirect->with - thespawn_cl - 07-28-2020 Hello, I'm moving to CI4 from CI3 and I have a question about the redirect. How I can get the variable "validation" from this line to show on my view: Code: return redirect()->to(site_url('/login'))->withInput()->with('validation', $this->validator); I'm still stuck with this. Thank you! RE: Help with redirect->with - InsiteFX - 07-28-2020 The best thing is to look at Myth/Auth AuthController and the views. It will teach you a lot about CI 4. Myth:Auth RE: Help with redirect->with - thespawn_cl - 07-28-2020 (07-28-2020, 10:48 AM)InsiteFX Wrote: The best thing is to look at Myth/Auth AuthController and the views. Nice, I'll check. Thank you! |