From b37e5515fe6a4fab31508c577d8599eb987cadb9 Mon Sep 17 00:00:00 2001 From: Daeng Deni Mardaeni Date: Tue, 5 Nov 2024 10:32:10 +0700 Subject: [PATCH] Remove SPK route definitions Removed all SPK-related route definitions from the web.php file, including group routes and resource routes. This is part of cleanup to enhance maintainability and reduce unused code within the routes configuration. --- routes/web.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/routes/web.php b/routes/web.php index e40bd3c..f821e44 100644 --- a/routes/web.php +++ b/routes/web.php @@ -2,7 +2,6 @@ use Illuminate\Support\Facades\Route; use Modules\Lpj\Http\Controllers\SLAController; -use Modules\Lpj\Http\Controllers\SpkController; use Modules\Lpj\Http\Controllers\KJPPController; use Modules\Lpj\Http\Controllers\TeamsController; use Modules\Lpj\Http\Controllers\RegionController; @@ -353,18 +352,6 @@ Route::middleware(['auth'])->group(function () { Route::get('print/{id}', [PermohonanController::class, 'print'])->name('print'); }); - Route::name('spk.')->prefix('spk')->group(function () { - // Route::get('download', [PermohonanController::class, 'createPermohonan'])->name('create.debitur'); - Route::get('view', [SpkController::class, 'viewSpk'])->name('spk.view'); - // Route::get('{id}/create', [PermohonanController::class, 'createPermohonan'])->name('create.debitur'); - // Route::get('download/{id}', [PermohonanController::class, 'download'])->name('download'); - // Route::get('restore/{id}', [PermohonanController::class, 'restore'])->name('restore'); - // Route::get('datatables', [PermohonanController::class, 'dataForDatatables'])->name('datatables'); - // Route::get('export', [PermohonanController::class, 'export'])->name('export'); - }); - - Route::resource('spk', SpkController::class); - Route::get('authorization', [PermohonanController::class, 'authorization'])->name('authorization.index'); Route::resource('permohonan', PermohonanController::class);