Welcome Guest, Not a member yet? Register   Sign In
return redirect()->back();
#6

You need to setup a route for the redirect->to like below

PHP Code:
$routes->add('users/profile''Users::profile', ['as' => 'cart']); 

See the as array on the end, that's what the to looks for in a route. It's not well documented.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
return redirect()->back(); - by swsupport - 05-15-2021, 08:24 AM
RE: return redirect()->back(); - by includebeer - 05-15-2021, 08:38 AM
RE: return redirect()->back(); - by swsupport - 05-15-2021, 09:01 AM
RE: return redirect()->back(); - by swsupport - 05-15-2021, 09:50 AM
RE: return redirect()->back(); - by swsupport - 05-15-2021, 10:20 AM
RE: return redirect()->back(); - by InsiteFX - 05-15-2021, 11:40 AM
RE: return redirect()->back(); - by swsupport - 05-15-2021, 11:41 AM
RE: return redirect()->back(); - by wdeda - 05-15-2021, 03:10 PM
RE: return redirect()->back(); - by swsupport - 05-15-2021, 04:47 PM
RE: return redirect()->back(); - by demyr - 05-15-2021, 10:54 PM
RE: return redirect()->back(); - by MGatner - 05-22-2021, 05:19 AM
RE: return redirect()->back(); - by John_Betong - 05-22-2021, 04:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB