Answers for "laravel function to redirect route"

C#
3

laravel route redirect

Route::redirect('/here', '/there');
or
return redirect(route('register'));
Posted by: Guest on July-17-2021
0

redirect route with parameters laravel

//Send the parameter to route
Route::get('url/{identifier}', 'Controller@method')->name('routeNameFromWeb'); 

return redirect(route('routeNameFromWeb.php', ['identifier' => 'value']));
Posted by: Guest on July-27-2021

Code answers related to "laravel function to redirect route"

C# Answers by Framework

Browse Popular Code Answers by Language