Answers for "redirect with flash() message laravel"

PHP
1

return redirect with message laravel

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

    return redirect('dashboard')->with('status', 'Profile updated!');
});
Posted by: Guest on October-26-2020
0

how to use flash message in laravel

Session::flash('message', 'This is a message!'); 
Session::flash('alert-class', 'alert-danger');
Posted by: Guest on October-29-2020

Code answers related to "redirect with flash() message laravel"

Browse Popular Code Answers by Language