public function toursByCountry($countryId, CountryRepository $countryRepository, TourRepository $tourRepository) { $country = $countryRepository->findCountry($countryId); $tours = $tourRepository->getToursByCountry($countryId); $pageTitle = 'Tours - ' . $country->country_name; return view('tours.toursByCountry', compact('pageTitle', 'country', 'tours')); }