From 9ff3c1ab10e4145270a150d5a701fd437da80a6b Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Tue, 3 Apr 2018 22:45:45 -0500 Subject: [PATCH] remove single entry for pagination testing --- app/Http/Controllers/Frontend/FlightController.php | 2 +- resources/views/layouts/default/pireps/show.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Frontend/FlightController.php b/app/Http/Controllers/Frontend/FlightController.php index 5e0a0a40..e06589f1 100644 --- a/app/Http/Controllers/Frontend/FlightController.php +++ b/app/Http/Controllers/Frontend/FlightController.php @@ -68,7 +68,7 @@ class FlightController extends Controller $flights = $this->flightRepo ->orderBy('flight_number', 'asc') - ->paginate(1); + ->paginate(); $saved_flights = Bid::where('user_id', Auth::id()) ->pluck('flight_id')->toArray(); diff --git a/resources/views/layouts/default/pireps/show.blade.php b/resources/views/layouts/default/pireps/show.blade.php index 5db3a78e..dc9566d2 100644 --- a/resources/views/layouts/default/pireps/show.blade.php +++ b/resources/views/layouts/default/pireps/show.blade.php @@ -23,7 +23,7 @@

- +