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

@@ -50,7 +50,7 @@ class ProfileController extends Controller
$airports = $this->airportRepo->all();
}
return $this->view('profile.index', [
return view('profile.index', [
'user' => Auth::user(),
'airports' => $airports,
]);
@@ -70,7 +70,7 @@ class ProfileController extends Controller
$airports = $this->airportRepo->all();
return $this->view('profile.index', [
return view('profile.index', [
'user' => $user,
'airports' => $airports,
]);
@@ -92,7 +92,7 @@ class ProfileController extends Controller
$airlines = $this->airlineRepo->selectBoxList();
$airports = $this->airportRepo->selectBoxList(false, setting('pilots.home_hubs_only'));
return $this->view('profile.edit', [
return view('profile.edit', [
'user' => $user,
'airlines' => $airlines,
'airports' => $airports,