git commit "fix user panel pages hero layout and add profile dropdown improvements"
This commit is contained in:
@@ -10,12 +10,11 @@ class TourController extends Controller
|
||||
{
|
||||
$newestTour = Tour::with('travelType')
|
||||
->latest()
|
||||
->take(10)
|
||||
->get();
|
||||
->paginate(3);
|
||||
|
||||
$tours = Tour::with('travelType')
|
||||
->latest()
|
||||
->paginate(5);
|
||||
->paginate(2);
|
||||
|
||||
return view('tours.index', compact('newestTour', 'tours'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user