Answers for "redirect after callback laravel"

PHP
2

laravel response redirect

#Method 1 with route name
return redirect()->route('login');

#Method 2 back with input
return back()->withInput();

#Method 2 using a url
return redirect('/home/dashboard');
Posted by: Guest on August-25-2021
5

laravel redirect back with input

// Laravel 5
return redirect()->back()->withInput();
// Laravel 6,7, 8
return back()->withInput();
Posted by: Guest on September-05-2021

Code answers related to "redirect after callback laravel"

Browse Popular Code Answers by Language