Answers for "laravel 8 return redirect"

C#
3

redirect to route laravel

Route::post('/user/profile', function () {
    // Update the user's profile...

    return redirect('/dashboard')->with('status', 'Profile updated!');
});
Posted by: Guest on December-10-2020
1

laravel return response view

return response()->view('your_view', compact('variableName'));
Posted by: Guest on October-06-2020

Code answers related to "laravel 8 return redirect"

C# Answers by Framework

Browse Popular Code Answers by Language