git add .

git commit "Complete project development and finalize features"
This commit is contained in:
2026-08-22 11:14:07 +03:30
parent e72f68cd86
commit 2f431971c0
40 changed files with 126 additions and 637 deletions
+2 -10
View File
@@ -15,26 +15,19 @@ class FlightController extends Controller
->applySearch($request->all())
->paginate(10);
$newestFlight = Flight::latest()
->take(3)
->get();
$newestTour = Tour::latest()
->take(3)
->get();
$tours = Tour::latest()
->paginate(10);
return view('flights.index', compact(
'flights',
'newestFlight',
'newestTour',
'tours'
return view('flights.index', compact('flights', 'newestFlight',
'newestTour', 'tours'
));
}
public function show(Flight $flight)
@@ -48,7 +41,6 @@ class FlightController extends Controller
->latest()
->get();
return view('flights.show', compact('flight', 'comments'));
}