hot fix conflict routing web and api advertisements
This commit is contained in:
@@ -62,7 +62,7 @@ class AdvertisementController extends Controller
|
||||
// Pastikan model ditemukan
|
||||
if (!$modelInstance) {
|
||||
info("AdvertisementController@edit: Model tidak ditemukan.");
|
||||
return redirect()->route('advertisements.index')->with('error', 'Advertisement not found');
|
||||
return redirect()->route('web.advertisements.index')->with('error', 'Advertisement not found');
|
||||
}
|
||||
|
||||
// Mengambil dan memetakan village_name dan district_name
|
||||
|
||||
Reference in New Issue
Block a user