1
This commit is contained in:
@@ -13,8 +13,7 @@ class LocationController
|
|||||||
*/
|
*/
|
||||||
public function index(Request $request)
|
public function index(Request $request)
|
||||||
{
|
{
|
||||||
$locations = Location::hasVehicles()
|
$locations = Location::with('vehicles')
|
||||||
->with('vehicles')
|
|
||||||
->with('fboVehicles')
|
->with('fboVehicles')
|
||||||
->get()
|
->get()
|
||||||
->map(function ($location) {
|
->map(function ($location) {
|
||||||
|
|||||||
Reference in New Issue
Block a user