Answers for "redirect call route controller laravel"

PHP
1

Redirect::route('profile') and with() in laravel

// For a route with the following URI: profile/{id}

return redirect()->route('profile', [$user]);
Posted by: Guest on May-30-2020
0

Redirect::route('profile') and with() in laravel

// For a route with the following URI: profile/{id}

return redirect()->route('profile', ['id' => 1]);
Posted by: Guest on May-30-2020

Code answers related to "redirect call route controller laravel"

Browse Popular Code Answers by Language