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
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?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');
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user