fix up API route return

This commit is contained in:
Dane Everitt
2016-10-07 14:26:50 -04:00
parent 9d55e93e9e
commit 06422b2055
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();
}
}