- Fully transitioned the backend to the Porto architectural pattern - Improved code organization and maintainability - Fixed minor bugs and inconsistencies
15 lines
407 B
PHP
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');
|
|
});
|
|
|
|
|
|
|