Add /flight/:id/route resource, returns all route info that's in the navaid database closes #183

This commit is contained in:
Nabeel Shahzad
2018-02-20 12:06:52 -06:00
parent fdf18cf533
commit 8393ae2851
10 changed files with 116 additions and 22 deletions
+2 -1
View File
@@ -377,7 +377,8 @@ class AcarsTest extends TestCase
foreach($route as $position) {
$post_route[] = [
'order' => $order,
'name' => $position->name,
'id' => $position->id,
'name' => $position->id,
'lat' => $position->lat,
'lon' => $position->lon,
];