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