diff options
Diffstat (limited to 'routes')
-rw-r--r-- | routes/web.php | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/routes/web.php b/routes/web.php index fb12e96..faef969 100644 --- a/routes/web.php +++ b/routes/web.php @@ -3,13 +3,13 @@ use App\Http\Controllers\AdminBookmarksController; use App\Http\Controllers\AdminGuestbookController; use App\Http\Controllers\AdminImportController; +use App\Http\Controllers\BlogController; use App\Http\Controllers\BookmarksController; use App\Http\Controllers\CalculatorsController; use App\Http\Controllers\ComputersController; use App\Http\Controllers\GuestbookController; use App\Http\Controllers\HomeController; use App\Http\Controllers\MusicController; -use App\Http\Middleware\PageView; use Illuminate\Support\Facades\Route; /* @@ -24,15 +24,13 @@ use Illuminate\Support\Facades\Route; */ // Run the PageView middleware for *all* public GET routes -Route::middleware(PageView::class)->group(function () { - Route::get('/', [HomeController::class, 'show']); - Route::get('/bookmarks', [BookmarksController::class, 'show']); - Route::get('/guestbook', [GuestbookController::class, 'show']); - Route::get('/calculators', [CalculatorsController::class, 'show']); - Route::get('/computers', [ComputersController::class, 'show']); - Route::get('/music', [MusicController::class, 'show']); -}); - +Route::get('/', [HomeController::class, 'show']); +Route::get('/bookmarks', [BookmarksController::class, 'show']); +Route::get('/blog', [BlogController::class, 'showPostList']); +Route::get('/guestbook', [GuestbookController::class, 'show']); +Route::get('/calculators', [CalculatorsController::class, 'show']); +Route::get('/computers', [ComputersController::class, 'show']); +Route::get('/music', [MusicController::class, 'show']); Route::post('/guestbook', [GuestbookController::class, 'addEntry']) ->middleware('rate_limit'); |