- Fully transitioned the backend to the Porto architectural pattern - Improved code organization and maintainability - Fixed minor bugs and inconsistencies
12 lines
489 B
PHP
12 lines
489 B
PHP
<?php
|
|
|
|
use App\Containers\Search\UI\API\Controllers\SearchController;
|
|
use App\Containers\Search\UI\API\Controllers\StaticSearchController;
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
|
|
Route::get('/search', [SearchController::class, 'index'])->name('client.search.index');
|
|
|
|
Route::get('/static/search', [StaticSearchController::class, 'search'])->name('client.search.static');
|
|
Route::get('/static/categories', [StaticSearchController::class, 'getCategories'])->name('client.categories.static');
|