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