fix up API route return

This commit is contained in:
Dane Everitt 2016-10-07 14:26:50 -04:00
parent 9d55e93e9e
commit 06422b2055
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
6 changed files with 11 additions and 16 deletions

View file

@ -58,7 +58,7 @@ class LocationController extends BaseController
$location->nodes = explode(',', $location->nodes);
}
return $locations;
return $locations->toArray();
}
}