Files
ntspi-app/app/Containers/Article/UI/WEB/Routes/web.php
T
F4ilji c01016a154 Migrate backend to Porto architecture and fix minor bugs
- Fully transitioned the backend to the Porto architectural pattern
- Improved code organization and maintainability
- Fixed minor bugs and inconsistencies
2025-05-12 08:47:43 +05:00

15 lines
407 B
PHP

<?php
use App\Containers\Article\UI\WEB\Controllers\IndexPostController;
use App\Containers\Article\UI\WEB\Controllers\ShowPostController;
use Illuminate\Support\Facades\Route;
Route::middleware('access-check')->group(function () {
Route::get('/news', IndexPostController::class)->name('client.post.index');
Route::get('/news/{slug}', ShowPostController::class)->name('client.post.show');
});