middleware redirect return laravel 8

36

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

    return redirect('/dashboard')->with('status', 'Profile updated!');
});

Comments

Submit
0 Comments