<a href="{{ route('Kategori.edit', $d->id) }}" class="dropdown-item">Edit</a> <a href="{{ route('Kategori.destroy', $d->id) }}" class="dropdown-item">Delete</a>
this was successful on edit but not on destroy
I use the resource route all sections are successful only on route Category.destroy this is not successful. after I overcome the white screen appears
Delete should be a form submit assuming you are using HTTP DELETE
for the route:
<form action="{{ route('Kategori.destroy', $d->id) }}" method="POST">
@csrf
@method('DELETE')
<button type="submit">
Delete
</button>
</form>