git add .
git commit "Complete project development and finalize features"
This commit is contained in:
@@ -17,9 +17,8 @@ class TourController extends Controller
|
||||
->latest()
|
||||
->paginate(2);
|
||||
|
||||
return view('tours.index', compact('tours'))
|
||||
->with('withoutHero', true); }
|
||||
|
||||
return view('tours.index', compact('tours', 'newestTour'));
|
||||
}
|
||||
|
||||
public function show(Tour $tour)
|
||||
{
|
||||
@@ -33,7 +32,6 @@ class TourController extends Controller
|
||||
->latest()
|
||||
->get();
|
||||
|
||||
|
||||
return view('tours.show', compact('tour','comments'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user