Answers for "catch variable from redirect route laravel"

PHP
2

laravel return redirect to named route

return redirect()->route('login');
Posted by: Guest on January-30-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 "catch variable from redirect route laravel"

Browse Popular Code Answers by Language