feat: implement tour listing with sorting and pagination
This commit is contained in:
@@ -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');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user