diff options
author | Frankie B <git@diskfloppy.me> | 2024-07-12 16:23:55 +0100 |
---|---|---|
committer | Frankie B <git@diskfloppy.me> | 2024-07-12 16:23:55 +0100 |
commit | 8db67c2b479a36b4356d390e0619255da2a0acbc (patch) | |
tree | b68d5ded2ad192ea540f84b862d693044685c256 | |
parent | 220f8587594633e63e6acbc6e1471507bf54587f (diff) |
Remove admin routes
-rw-r--r-- | routes/web.php | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/routes/web.php b/routes/web.php index 80c1b9b..0b10251 100644 --- a/routes/web.php +++ b/routes/web.php @@ -1,8 +1,5 @@ <?php -use App\Http\Controllers\AdminBookmarksController; -use App\Http\Controllers\AdminGuestbookController; -use App\Http\Controllers\AdminImportController; use App\Http\Controllers\BookmarksController; use App\Http\Controllers\CalculatorsController; use App\Http\Controllers\ComputersController; @@ -31,13 +28,3 @@ Route::get('/computers', [ComputersController::class, 'show']); Route::get('/music', [MusicController::class, 'show']); Route::post('/guestbook', [GuestbookController::class, 'addEntry']) ->middleware('rate_limit'); - -// Admin pages -Route::prefix('admin')->group(function () { - Route::get('/admin/guestbook', [AdminGuestbookController::class, 'show']); - Route::get('/admin/bookmarks', [AdminBookmarksController::class, 'show']); - Route::get('/admin/import', [AdminImportController::class, 'show']); - Route::post('/admin/import', [AdminImportController::class, 'submit']) - ->name('admin.import.submit'); - -})->middleware('auth'); |