Update skinning with more flexible theme module

This commit is contained in:
Nabeel Shahzad
2018-03-11 18:00:42 -05:00
parent 03c15473b9
commit f05e37767f
50 changed files with 216 additions and 80 deletions

View File

@@ -68,7 +68,7 @@ class FlightController extends Controller
$saved_flights = Bid::where('user_id', Auth::id())
->pluck('flight_id')->toArray();
return $this->view('flights.index', [
return view('flights.index', [
'airlines' => $this->airlineRepo->selectBoxList(true),
'airports' => $this->airportRepo->selectBoxList(true),
'flights' => $flights,
@@ -89,7 +89,7 @@ class FlightController extends Controller
$saved_flights = Bid::where('user_id', Auth::id())
->pluck('flight_id')->toArray();
return $this->view('flights.index', [
return view('flights.index', [
'airlines' => $this->airlineRepo->selectBoxList(true),
'airports' => $this->airportRepo->selectBoxList(true),
'flights' => $flights,
@@ -112,7 +112,7 @@ class FlightController extends Controller
$map_features = $this->geoSvc->flightGeoJson($flight);
return $this->view('flights.show', [
return view('flights.show', [
'flight' => $flight,
'map_features' => $map_features,
]);