chore: finalize project updates
This commit is contained in:
@@ -13,12 +13,12 @@ class IndexController extends Controller
|
||||
$tours = Tour::query()
|
||||
->where('status', 1)
|
||||
->orderByDesc('created_at')
|
||||
->paginate(6, ['*'], 'tours_page');
|
||||
->paginate(3, ['*'], 'tours_page');
|
||||
|
||||
$flights = Flight::query()
|
||||
->where('status', 1)
|
||||
->orderByDesc('created_at')
|
||||
->paginate(6, ['*'], 'flights_page');
|
||||
->paginate(3, ['*'], 'flights_page');
|
||||
|
||||
$latestTours= Tour::latest()->limit(6)->get();
|
||||
$latestFlights = Flight::latest()->limit(6)->get();
|
||||
|
||||
Reference in New Issue
Block a user