Remove admin routes
This commit is contained in:
parent
220f858759
commit
8db67c2b47
1 changed files with 0 additions and 13 deletions
|
@ -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('/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');
|
||||
|
|
Loading…
Reference in a new issue