public function featuredTours(TourRepository $tourRepository) { $tours = $tourRepository->getFeaturedTours(); return view('tours.featured', compact('tours')); }
public function index(TourRepository $tourRepository) { $tours = $tourRepository->getFeaturedTours(5); return view('home', compact('tours')); }