• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Codeigniter 4 Redirect not working

#2
Since you aren’t using a named route you should definitely use the “to()” method. This method expects a full URL for input, so partials will often work but you’re safer to do something like:
return redirect()->to(site_url(‘admin’));
Reply


Messages In This Thread
RE: Codeigniter 4 Redirect not working - by MGatner - 03-13-2020, 10:47 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.