Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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']));
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #redirect #route #parameters #laravel
ADD COMMENT
Topic
Name
8+5 =