fix route umkm

This commit is contained in:
arifal
2025-03-04 16:05:21 +07:00
parent 8fcf8859d6
commit 435a19346b
6 changed files with 175 additions and 160 deletions

View File

@@ -60,7 +60,7 @@ class UmkmController extends Controller
$modelInstance = Umkm::find($id);
// Pastikan model ditemukan
if (!$modelInstance) {
return redirect()->route('umkm.index')->with('error', 'Umkm not found');
return redirect()->route('web-umkm.index')->with('error', 'Umkm not found');
}
// Mengambil dan memetakan village_name dan district_name