feat: implement tour listing with sorting and pagination

This commit is contained in:
2026-08-17 16:37:11 +03:30
parent 5350cd1742
commit 9dc27863e2
8 changed files with 392 additions and 2 deletions
+7
View File
@@ -2,6 +2,7 @@
use App\Http\Controllers\FlightController;
use App\Http\Controllers\IndexController;
use App\Http\Controllers\TourController;
use Illuminate\Support\Facades\Route;
Route::get('/' , [IndexController::class , 'index'])->name('index');
@@ -10,3 +11,9 @@ Route::prefix('flights')->controller(FlightController::class)->name('flights.')-
Route::get('/' , 'index')->name('index');
Route::get('{flight}','show')->name('show');
});
Route::prefix('tours')->controller(TourController::class)->name('tours.')->group(function (){
Route::get('/' , 'index')->name('index');
Route::get('{tour}','show')->name('show');
});