redirect with success message in laravel 7 code example
Example: withsuccess laravel 8
return redirect('dashboard')->with('success', 'Profile updated successfully!');
return redirect('dashboard')->with('success', 'Profile updated successfully!');